Thanks the funcion from
http://www.news2news.comis below:
DECLARE INTEGER CopyFile IN kernel32;
STRING lpExistingFileName,;
STRING lpNewFileName,;
INTEGER bFailIfExists
? CopyFile ("C:\Autoexec.bat", "C:\Autoexec.cpy", 0)
I know when I use adir() I will get all the files name into an array
Please someone give an example on how to do the loop to get all the
files name of the array using the funcion above
TIA
Moises