Jump to content

xcopy: Invalid drive specification


Recommended Posts

but the directory isn't empty and /e does the same as /s in that case, which is already added in there....

You mean this bit: /scyih ?

Then that's why it isn't working...I assumed that was a directory and amednded that part in my post.

Although you say it works on some computers and not some.... :unsure: Errr you got me on that one.

So it should be...

xcopy /s /c /y /i /h "\\machine\share\path\dir" "d:\placehere\"

p.s Invalid drive spec.

Check that the path to the dir is correct and include the quotes.

Or if you want....

xcopy "\\machine\share\path\dir" "d:\placehere\" /s /c /y /i /h

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy