I am looking into modifying some code to add a date format to a batch file, this is the code we are using and it is on a Windows XP embedded machine
The date format can be as simple as 16012015
The file saves to the D drive then copies to a USB drive if we have one in, the storage on the PC is only small which is why we delete the file every time we backup
REM #### Creation of the ZIP file ####
Del %BackupPath%\%ZipName%
7z a -tzip %BackupPath%\%ZipName% %BackupPath%\Backup\
REM #### Copy to USB ####
IF EXIST E: (echo Copie sur disque E:
copy %BackupPath%\%ZipName% E: /y )
IF EXIST F: (echo Copie sur disque F:
copy %BackupPath%\%ZipName% F: /y )
IF EXIST G: (echo Copie sur disque G:
copy %BackupPath%\%ZipName% G: /y )
IF EXIST H: (echo Copie sur disque H:
copy %BackupPath%\%ZipName% H: /y )
IF EXIST I: (echo Copie sur disque I:
copy %BackupPath%\%ZipName% I: /y )