Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Copy file problem

Author
Message
D2O
15
Years of Service
User Offline
Joined: 29th Jan 2009
Location:
Posted: 29th Jan 2009 20:15 Edited at: 30th Jan 2009 21:36
[Edit]
apology, a mistake of me was.
This post can pleas in trash.

[/Edit]




Hi,

sorry for my bad english.

Frist i write in "bad" english
Secound in German

I have in Directory one .ini, file and sub directory "Maps"
In ini is this String "66317DE54D05888BF0F3DAA1BFA5165E-1=VCTF-0NewSpaceFort.ut2"
The file have this string as name.

I will copy this file in MapsVCTF-0NewSpaceFort.ut2
But it doesn't work.

Here my Code:


Ok, in German:

Hallo alle,

folgendes.
Ich lese eine Ini aus in der der Name einer Datei steht.
Die Datei ist im gleichen Ordner.
Nun möchte ich die Datei in einen Unterordner "Maps" mit einem anderen Namen Copieren.
Aber irgendwie pasiert hier nichts.

Ich hoffe das mir hier der eine oder andere sagen kann was in meinem Code Falsch ist.

Schon mal vielen Dank im Vorraus und Grüsse vom Bodensee
calcyman
17
Years of Service
User Offline
Joined: 31st Aug 2007
Location: The Uncertainty Principle
Posted: 21st Apr 2009 19:14
I think you've forgotten the backslash, used as a delimiter between a directory and the file.

copy file myline$,"maps"+myline$

should be:

copy file myline$,"maps\"+myline$


Hope this helps,


Calcyman

The optimist's right, The pessimist's right.

Login to post a reply

Server time is: 2024-11-25 08:27:24
Your offset time is: 2024-11-25 08:27:24