Page 1 of 1

Copyfile

Posted: Sat Apr 10, 2004 6:16 pm
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$

Posted: Sun Apr 11, 2004 12:44 am
by Derlidio
Yeepy...

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