L
Luis Soriano _ER
Hello everyone,
I am having a syntax error when executing my forfiles command.
My proposal is to develop a .bat script to everyday copy the last file backup from a folder to the one drive folder located in another drive "K"
This is the command I am using
forfiles /p D:\Micros\Database\Data\Backup\Archive\ /D +0 /C "cmd /c copy @file K:\OneDrive\OneDrive - Company Name Inc\Backups"
My ouput result:
The syntax of the command is incorrect.
Thank you to all for your help!
Continue reading...
I am having a syntax error when executing my forfiles command.
My proposal is to develop a .bat script to everyday copy the last file backup from a folder to the one drive folder located in another drive "K"
This is the command I am using
forfiles /p D:\Micros\Database\Data\Backup\Archive\ /D +0 /C "cmd /c copy @file K:\OneDrive\OneDrive - Company Name Inc\Backups"
My ouput result:
The syntax of the command is incorrect.
Thank you to all for your help!
Continue reading...