Click here for important information about

move command using batch file in dos,help

June 11, 2009 at 08:42:42
Specs: Windows XP
Hello all I am a true beginner at this and need some help. I am moving large ammounts of files from one directory to another and set up a batch file to do so, however when I run the file in MS-DOS, I run into syntax errors when it notices there are spaces in the folder and file names of my command for example :
move G:\Adam-Invoice\Cardinal Cogen-Invoice.doc G:\FileStructure\QWI Manual\QWI 5- Purchasing\
the space in between cardinal and cogen would set off the syntax error. Is there a simple way around this problem using some sort of coding? or do I need a compiler to fix this problem?
Thank you.

See More: move command using batch file in dos,help

June 12, 2009 at 05:49:19
Just enclose the file path and name with double quotes " ". SHould work fine

Report •
Related Solutions

Ask Question