Using xcopy to copy multiple files/directories, some of which have spaces
You should use quotes the following way:
xcopy "d:location\folder\anotherfolder\folder with spaces"
Note the unit letter and the colon go outside the quotes and no \
at the beginning either.
Use quotes:
xcopy "d:\location\folder" /e