In addition to what Brink told you above, in case you need to use batch files or command line also in the future: you seem to have a syntax error in your
XCOPY command syntax.
If no folders and files on path have spaces, you do not need quotation marks ("). However, if a folder or file has space(s) on its name, the whole path must be between quotation marks. Important is that quotation marks when used come at the beginning and the end of the path, not at the beginning of the command line.
Your quotation marks, at least on your post above, are wrong. Let's say you really had a folder called
My Documents on
C:\Users\Your_Username\My Documents, and you would like to copy it to
D: drive on folder called
Docs. According to your post you would give that command as:
Code:
"xcopy c:\users\your_username\my documents\*.*" "D:\Docs"
This would produce an error message as seen here:
But with correct usage of quotation marks the files would be copied. Here's the correct syntax, please notice the begin quotation mark just before the source path, not at the beginning of the command line, and the end quotation mark just after the source path. Destination path in this example of mine does not need quotation marks because it does not contain spaces:
Code:
xcopy "c:\users\your_username\my documents" D:\Docs
Also notice that wildcards
*.* are useless with
XCOPY command.
XCOPY always copies all files of the folder.
With this small change the content of the folder
My Documents would be copied:
If you also want to copy subfolders and files on them you need to add handle
/s, and if you want even to copy empty subfolders you need to add handle
/e to the command line:
Sorry the rant, an old school geek just loves to speak about command line language

.
Kari