Dear reader,
I recently made a simple script to copy files to another location for backup services.
While 1
$search = FileFindFirstFile("C:\test\*.pdf")
If $search = -1 Then
sleep(60000)
Else
$file = FileFindNextFile($search)
filemove("C:\test\" & $file,"Z:\test",8)
EndIf
FileClose($search)
WEnd
now there are not only pdf files in the dir "test" but more files (.exe , .bat etc) and sub dir like C:testtest2
I would like to also copy the directory's to the other location but don't understand how....
Zould somebody please help me or point me in the wright direction
greez
FMS