I have a batch file that I use to copy files from an internal hard drive (D to an external USB drive (Q. Since my machine crashed and I've reinstalled Win 7 Professional x64, the batch file does not recognize Q: and so can't copy files to it with the XCOPY command.
When I put the following lines in the batch file
if not exist Q:\nul echo problem
I get a "problem" output. If I do the same thing manually in a cmd box I don't. I can copy files fine from a cmd box but not from a batch file. Anyone know what's going on here? This was not a problem before the crash. Thanks!