R
Richard Beilby
The EXCLUDE command of XCOPY does not work properly. For instance, if
one tries the following:-
XCOPY C:\*.BAT C:\TEMP\TEST /EXCLUDE:AUTOEXEC.BAT all the BAT files are
copied including AUTOEXEC.BAT!
XCOPY C:\TEMP\*.* C:\TEST\ /S/EXCLUDE:C:\TEMP\TEST\ the error message
Can't open file: C:\TEMP\TEST\ given. Any variation on the above EXCLUDE
format gives the same error message.
Anybody got an idea on what could be wrong please.
one tries the following:-
XCOPY C:\*.BAT C:\TEMP\TEST /EXCLUDE:AUTOEXEC.BAT all the BAT files are
copied including AUTOEXEC.BAT!
XCOPY C:\TEMP\*.* C:\TEST\ /S/EXCLUDE:C:\TEMP\TEST\ the error message
Can't open file: C:\TEMP\TEST\ given. Any variation on the above EXCLUDE
format gives the same error message.
Anybody got an idea on what could be wrong please.