Hi,
this is my first topic.
I want create a file batch that copy only all files txt (option *.txt) from folder test1 to folder test2.
When I copy the files, I want add a delay for any txt file copy.
Example
Copy first file
delay
copy second file
delay
copy third file
delay
..............
Can you help me ?
Thanks
Copy files with delay
Moderator: DosItHelp
Re: Copy files with delay
You could use PING.
untested:
... where -n 2 means 1 second (3 would mean 2 seconds etc.)
Regards
aGerman
untested:
Code: Select all
for /r "C:\somewhere\test1" %%i in (*.txt) do (
copy "%%i" "C:\somewhere\test2\"
>nul ping -n 2 localhost
)
... where -n 2 means 1 second (3 would mean 2 seconds etc.)
Regards
aGerman
Re: Copy files with delay
Great !!!!!
Thanks
Best Regards
Germano
Thanks
Best Regards
Germano