I use the xcopy command in a DOS batch file to backup my personal files and it works fine. However, when XCOPY encounters an error, the error message is displayed, but the offending filename is not. Only files that are successfully copied are displayed (to the screen or logfile) How do I pinpoint the file that is causing the error? Sometimes it's a long path name and the error is "Insufficient memory", but I still have no way of finding the offending file. Other times, the error might be "File creation error - The file cannot be accessed by the system". Same problem, I do not know the filename that is causing the error. The error message itself is not what I need help with. It's pinpointing the file that is causing the error, whatever that error might be. I need a way to display the filename BEFORE the copy is attempted. Thank you.