1.

Solve : spaces in directory names in batch file?

Answer»

a simple copy does not seem to WORK when one of the directories being referenced has a space in its name

ex. copy C:\irwin green\apps\file.mdb c:\file.mdb

It does not seem to recognize the irwin green folder (I assume because of the space)

How do I GET around that if there are GOING to be spaces in some directory names?

thanksUse quotes around any file with embedded spaces.

copy "c:\irwin green\apps\file.mdb" c:\file.mdb

Hope this helps. Thanks for the HELP...it worked great!



Discussion

No Comment Found