you should do the XCOPY command and SYS command from within windows so the long file names don't get trampled.

But, surely, if I did this in a DOS window running in Windows, wouldn't some of the Windows files currently in use fail to copy? In fact, wouldn't they just cause the XCOPY to abort?

tanstaafl.
_________________________
"There Ain't No Such Thing As A Free Lunch"