xcopy issues

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?
 
G

Gary Smith

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top