.bat to backup certain file adding date and sequence # to end of the file name.
Posted on 2013-05-13
I used to know how to do this, I even wrote them and used them on jobs. I had a couple of handy DOS batch file books once upon a time..
Help save me some time (and if you could also give me a link to a good online batch command resource I'd appreciate it).
I want a batch file to backup this file:
C:\Documents and Settings\Myname\Application Data\Mozilla\Firefox\Profiles\q4lyst7r.default\sessionstore.js
and place it into the folder c:\firefoxback\
I want to name the backups by date and sequentially such as:
The current yyyy.mm.dd.## could be stored in a .txt/.lst file for easy determination of the next name or could be determined by looking at existing file names.