General information
Category:
Coding, syntax & commands
Dear Hilmar
I have Mike's code below
But I don't have a clue on how to display a progress
bar as you've said.
Also this function looks nice, but there's something wrong
as it does not work
DECLARE INTEGER CopyFile IN kernel32;
STRING lpExistingFileName,;
STRING lpNewFileName,;
INTEGER bFailIfExists
cd c:\backup
nCount = ADIR(myArray)
for i = 1 to nCount
lcFilename = myArray[i,1]
lcFilename = 'c:\backup\'+lcFilename
lcNewfile = 'c:\newdir'+lcFilename
CopyFile (lcFilename, lcNewfile, 0)
endfor
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only