I am trying to write a bat file to copy some files into a new directory (which exists).
Here is my command:
copy ".\050-9800-JJJ-DSC-BAW-MEE-00019-01*.pdf" "T:\201201.00 TCO - Tengiz, Kazakhstan\12.0-Submittals\100% IFC\DocsForVoid"
Notice that the destination path has a directory name that contains "%". When I see the output in powershell I get the error that the system cannot find the path specified. The path echoed in the command does not contain the "%" character . . . please note that I did not name this directory, and it may be problematic to rename it. Is there any way to get this to work?
Here is powershell output (sample):
T:\201201.00 TCO - Tengiz, Kazakhstan\08.6-Document Control\CW985786 Documents to be Uploaded to POL\015-C041-ITM-TRN-BA
W-FGP-00159>copy ".\050-9800-JJJ-DSC-BAW-MEE-00019-01*.pdf" "T:\201201.00 TCO - Tengiz, Kazakhstan\12.0-Submittals\100 I
FC\DocsForVoid"
.\050-9800-JJJ-DSC-BAW-MEE-00019-01_H04.pdf
The system cannot find the path specified.