mjelec
asked on
batch copy folder
I am trying to figure out how to create a batch file script to copy a single folder example I have tried:
xcopy \\server\folder \\server\copied folder
I have received the following errors:
invalid path
too many parameters (fixed with quotations)
"CMD.EXE was started with the above path as the current directory. UNC paths are not supported. Defaulting to Windows directory."
the last error has only shown up recently and i have not figured out where it has come from.
thanks in advance.
xcopy \\server\folder \\server\copied folder
I have received the following errors:
invalid path
too many parameters (fixed with quotations)
"CMD.EXE was started with the above path as the current directory. UNC paths are not supported. Defaulting to Windows directory."
the last error has only shown up recently and i have not figured out where it has come from.
thanks in advance.
xcopy \\server\folder "\\server\copied folder"
copied folder has a space in it...
copied folder has a space in it...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
too many parameters has already been fixed by the quotations
I tried xcopy/e and still received invalid path and the cmd.exe error messages
I tried xcopy/e and still received invalid path and the cmd.exe error messages
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
xcopy/e \\server\folder" "\\server\copied folder"