Erstmal danke dafür, dass ihr euch mit meinem Problem beschäftigt.
@Nightmare2800
Da hab ich grad geguckt aber da steht nix.
Vielleicht wisst ihr ja, wie das in anderen Programmiersprachen gemacht wird.
hmmm... ich hab mal Gegoogelt aber nix gefunden. Da hat aber einer gesagt, ich soll $CMDLine[0] als Pfad angeben. Aber was ist $CMDLine[0]??? Hat auch nicht geklappt.
Hoffe mal, das noch mehr Antworten kommen