Serbtastis, thanks. But,
I want to keep the new daily files in the same directory. I will have Task Scheduler fire this thing off at 2 AM every day after the new files are dumped.
The goal if this script is to insert the current date into the file name. So the desired results would be like...
Why does this script work perfectly on 2K and XP but not on NT 4.0?
Script:
set Day=%Date:~0,2%
set Mth=%Date:~3,2%
set Yr=%Date:~6,4%
ren d:\hamcount\arc_bu.zip arc_bu%Day%-%Mth%-%Yr%.zip
ren d:\hamcount\guardware_bu.zip guardware_bu%Day%-%Mth%-%Yr%.zip
ren d:\hamcount\master_bu.zip...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.