R
Richard Tetley
Subject: Batch file will not work
Any help with the following would be appreciated.
I have been using, entirely successfully, a batch file for backing up My
Documents folders, on several Win98 and XP machines. Set with several
switches including /D (copies files changed on or after the specified date.
If no date is given copies only those files whose source time is newer than
the destination time). The backup is to a folder on a FreeBSD server with
Samba installed, mapped as virtual network drive H:\.
Now on an existing XP machine, after changing the user, this switch does not
work i.e. the copy command insists on backing up everything, which is very
frustrating.
Any clues as to why this happens would be gratefully received.
A sample batch command follows:
cls
@echo This program will backup to your H:\Backups\folder, all the files
@echo in your C:\Documents & Settings\Richard\My Documents\ folder,
@echo that have newer dates than the date of the last backup, to H:\Backups
@echo The programme will run in the background.
cd\
xcopy C:\docume~1\richard\MyDocu~1\*.* /A /D /S /W /I /R /F /Y H:\Backups\
Regards
Richard Tetley
Any help with the following would be appreciated.
I have been using, entirely successfully, a batch file for backing up My
Documents folders, on several Win98 and XP machines. Set with several
switches including /D (copies files changed on or after the specified date.
If no date is given copies only those files whose source time is newer than
the destination time). The backup is to a folder on a FreeBSD server with
Samba installed, mapped as virtual network drive H:\.
Now on an existing XP machine, after changing the user, this switch does not
work i.e. the copy command insists on backing up everything, which is very
frustrating.
Any clues as to why this happens would be gratefully received.
A sample batch command follows:
cls
@echo This program will backup to your H:\Backups\folder, all the files
@echo in your C:\Documents & Settings\Richard\My Documents\ folder,
@echo that have newer dates than the date of the last backup, to H:\Backups
@echo The programme will run in the background.
cd\
xcopy C:\docume~1\richard\MyDocu~1\*.* /A /D /S /W /I /R /F /Y H:\Backups\
Regards
Richard Tetley