Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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 stackoverflow.com Jan 17 '10 at 6:52

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

3  
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
1  
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

You must log in to answer this question.