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 want to copy the folder "C:\documents and settings\hp\my documents" to D:\ through the Windows cmd console. How can i do this?

share|improve this question

migrated from Jan 17 '10 at 6:52

This question came from our site for professional and enthusiast programmers.

Do you actually mean DOS? Or do you mean from the Windows command line (which is not DOS, but looks similar)? – Eilon Jan 17 '10 at 6:51
Well, the 'documents and settings' is a clue. – pavium Jan 17 '10 at 8:22
xcopy /e "C:\Documents and Settings\hp\My Documents" D:\
share|improve this answer

Your Answer


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