Link to home
Start Free TrialLog in
Avatar of NigelRocks
NigelRocks

asked on

DOS Batch Error "Invalid Number of Parameters"

Hello,

In the attached code snippet, I'm attempting to copy a some files and directories down a directory path. I get an "Invalid Number of Parameters" error, and I think it's because there are spaces between some of the words in the directory names.  What do I do about this?


c:
cd\
cd documents and settings
cd KEAEmich1
cd Favorites
xcopy *.* /s /y /d g:\KEAEmich\Documents and Settings\KEAEmich1\Favorites
cd\

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of FC01
FC01
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial