Copyfile

Just starting out? Need help? Post your questions and find answers here.
Switchblade
User
User
Posts: 17
Joined: Mon Apr 05, 2004 1:27 am
Contact:

Copyfile

Post by Switchblade »

Hi,

ive got some problems with copyfile.

Example :

Result = CreateDirectory(String$)
...
..
.
Result = CopyFile_("text.txt",(String$)"/text1",1 )

Result = CopyFile_("text.txt","(String$)/text1",1 )

Result = CopyFile_("text.txt","String$/text1",1 )
--------------------------------------------------------------

all 3 versions dont work ..... i want to copy teh files into the folder which was created and the name is the value of String$
AMD 2800+ , 1024DDR 400, Nvidia FX 5600 Pro 256DDR, Hersules Game Theater 7.1
User avatar
Derlidio
User
User
Posts: 77
Joined: Fri Feb 27, 2004 9:19 pm
Location: SP - Brazil

Post by Derlidio »

Yeepy...

Try this way: Result = CopyFile_("text.txt", String$ + "/text1", 1)
Derlidio Siqueira
Post Reply