How to copy a folder via cmd? [closed]

Solution 1:

xcopy "%userprofile%\Desktop\Документи" "D:\Backup\" /s/h/e/k/f/c

should work, assuming that your language setting allows Cyrillic (or you use Unicode fonts in the console).

For reference about the arguments: http://ss64.com/nt/xcopy.html

Solution 2:

xcopy  e:\source_folder f:\destination_folder /e /i /h

The /h is just in case there are hidden files. The /i creates a destination folder if there are muliple source files.

Solution 3:

xcopy  "C:\Documents and Settings\user\Desktop\Документи" "D:\Backup" /s /e /y /i

Probably the problem is the space.Try with quotes.