I use this batch file for quick data backing up in XP SR3
DEL C:\BACKUP\DATAONLY\*.* /Q /F /S
RMDIR C:\BACKUP\DATAONLY\DATA\ /Q /S
XCOPY W:\DATA\*.* C:\BACKUP\DATAONLY\DATA /I /S /E /K /R /H
It works fine except that all the copied file have the archive attribue set to on.
I know it not really that important but I'd prefer an exact copy including attributes
Can it be done in XP DOS Batch files?
ATTRIB -A C:\BACKUP\DATAONLY\DATA\*.* /s
This clears the archive attributes except for hidden files.
It's no good anyway as I'd still like an exact copy.