cmd - How can I copy a file from one dir to another with a .bat file -
i have code:
xcopy /s c:\documents , setting\windowsxp-vm\desktop\usb\* c:\documents , setting\windowsxp-vm\desktop\startup pause
saved in .bat file , when run it says invalid number of parameters have looked on google abit , cant figure out tried putting dest in quotes , gave me error.
the spaces throwing things off; wrap paths in quotes:
xcopy /s "c:\documents , setting\windowsxp-vm\desktop\usb\*" "c:\documents , setting\windowsxp-vm\desktop\startup" pause
Comments
Post a Comment