Thread: DOS Command
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Troy 2006 Troy 2006 is offline
external usenet poster
 
Posts: 1
Default DOS Command

I know this is not the ideal place to post, but I need to know what is the
exact proper format to copy a file from one drive to another drive when the
folder name contains a space in it.
Example:
I created a file called "Autocopy.bat"
The command line goes as follows:
xcopy c:\Folder\main.xls d:\Main Files\

The problem I'm having is the space between "Main Files" is not recognized
by DOS. How can I format this so the main.xls copy is made to D:\Main Files
???