G
Guest
Running XpSp2, fully patched. I am trying to copy a file that has a '%'
symbol in it ( say the file name is: #$%3fw.txt) and using xcopy from a batch
file and it will not copy. I get a message back that file #$fw.txt is not
found. There are no spaces in the UNC path to the file and it does not matter
if the path is in double or single quotes.
The strange thing, is if I take it out of the batch file and just copy it
into an existing command shell, it copies fine. So what is the difference
from using xcopy from a batch file compared to a command shell?
symbol in it ( say the file name is: #$%3fw.txt) and using xcopy from a batch
file and it will not copy. I get a message back that file #$fw.txt is not
found. There are no spaces in the UNC path to the file and it does not matter
if the path is in double or single quotes.
The strange thing, is if I take it out of the batch file and just copy it
into an existing command shell, it copies fine. So what is the difference
from using xcopy from a batch file compared to a command shell?