chedmeister
Jul 29, 2007, 10:12 AM
Hi, hope this is the right place to ask about windows XP dos batch files.
I fix home PCs for a living and want to make a foolproof backup procedure that runs overnight. I want the user to plug in a USB drive Thursday eve and take it away on Friday with the backup files on it.
Im using Acronis home for the actual backup and it makes backup files with a .tib format.
Acronis can be asked to run a batch file after it finishes its backup job.
I want the batch file to:
Make a new folder with todays date as the title on the USB drive.
Move the .tib file to the new folder.
The new folder name must be unique as they may have multiple backups on the USB drive.
The date should be in a DD-MM-YYYY format (may be easier to leave out the separators)
The problem is getting dos to create a folder with today's date as the name. Ive seen a few suggestions on the net from a chap named 'seamonkey' but I'm only so good with dos.
Please help, this will make me look really clever :D and hopefully will be a quick one for a dos wizz.
I fix home PCs for a living and want to make a foolproof backup procedure that runs overnight. I want the user to plug in a USB drive Thursday eve and take it away on Friday with the backup files on it.
Im using Acronis home for the actual backup and it makes backup files with a .tib format.
Acronis can be asked to run a batch file after it finishes its backup job.
I want the batch file to:
Make a new folder with todays date as the title on the USB drive.
Move the .tib file to the new folder.
The new folder name must be unique as they may have multiple backups on the USB drive.
The date should be in a DD-MM-YYYY format (may be easier to leave out the separators)
The problem is getting dos to create a folder with today's date as the name. Ive seen a few suggestions on the net from a chap named 'seamonkey' but I'm only so good with dos.
Please help, this will make me look really clever :D and hopefully will be a quick one for a dos wizz.