Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am getting Invalid Drive Specification when using xcopy to copy a sharepoint site to a backup location. I am executing the command via cmd window from the sharepoint server itself. I have tried it from another server exactly via cmd line and it works fine. If I execute the command via cmd line on the sharepoint server I get the error. I have WebDav installed on both servers and Webclient service running. I can map a drive from the sharepoint server to the url via explorer and can access the url via "start / run" I don't understand why I cant xcopy from it here. I can from another similarly configured server.

Results from sharepoint server

xcopy \\DAVWWWRoot\sites\projectserver_1215\ c:\Karen\ Invalid drive specification

0 File(s) copied

Results from other server

xcopy \\DAVWWWRoot\sites\projectserver_1215\default.aspx c:\Karen\

\\DAVWWWRoot\sites\projectserver_1215\default.aspx 1 File(s) copied

share|improve this question
The results from the other server should not have default.aspx on it. That was a previous test. It should just be "xcopy \\DAVWWWRoot\sites\projectserver_1215\ c:\Karen\ \\DAVWWWRoot\sites\projectserver_1215\ 1 File(s) copied – Karen Grider Aug 9 '12 at 23:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.