Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Is it a bug?

$
0
0

I have a while loop and a FileCopy command in it.

like this:

While 1      Sleep(10000)      FileCopy("F:\Source\*.*", "F:\Dest\*.*",0)     WEnd

I use the "0" flag for prevent overwriting all files and just copy New files.

 

At first step of loop everything works right and the files located in source are copying into dest. but when this loop continues and I add some files into Source folder, FileCopy can't copy the new files into Dest  !!!

 

I don't want to change the flag parameter into 1, because I don't want to overwrite all files.

 

DirCopy acts same as FileCopy.


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>