1.

Solve : A backup batch, to save as time and date.?

Answer»

Hello all,

I am currently trying to make a batch file that will backup a folder every 2 hrs and save that folder with the time and date in the name. This way we can have multiple backups, each with a timestamp. My problem is that EITHER my code says CRASHES just before the backup/copy or it says The syntax of the command is incorrect where it should rename the folder. Here is what I have so far, any help would be greatly appreciated.

Code: [Select]-snip-Okay i found the problem. I needed to use quotes with my environment variables when renaming. Sorry for WASTING your time if you read this.



Discussion

No Comment Found