xcopy issues

  • Thread starter Thread starter Daryl
  • Start date Start date
D

Daryl

When trying to use xcopy to move files from a folder in
the Program Files folder it gives me a error message "
invalid number of parameters". Hereis the full command "
xcopy C:\Program Files\test\*.* C:\test1copy /Y/V/E" I
have tried "
xcopy C:\Program_Files\test\*.* C:\test1copy /Y/V/E" but
this does not work either. Any suggestions?
 
Daryl said:
When trying to use xcopy to move files from a folder in
the Program Files folder it gives me a error message "
invalid number of parameters". Hereis the full command "
xcopy C:\Program Files\test\*.* C:\test1copy /Y/V/E" I
have tried "
xcopy C:\Program_Files\test\*.* C:\test1copy /Y/V/E" but
this does not work either. Any suggestions?

You need quotation marks around the filespec to deal with the embedded
space:

xcopy "C:\Program Files\test\*.*" C:\test1copy /Y/V/E
 
Back
Top