I was trying to script a file save operation to create copies of a closed database on a periodic basis:
set tm=%tm::=-%
set dtt=%dt%%tm%
xcopy C:\folder\folder2\maindatabase.mdb z:\folder\folder\backup\"database-%dtt%-%tm%".bkp
I plan to schedule this for multiple backup copies.
What have I done wrong so far?
Thanks,
Alex
set tm=%tm::=-%
set dtt=%dt%%tm%
xcopy C:\folder\folder2\maindatabase.mdb z:\folder\folder\backup\"database-%dtt%-%tm%".bkp
I plan to schedule this for multiple backup copies.
What have I done wrong so far?
Thanks,
Alex