How to robocopy subfolders with content

It is hard to believe but I seem to be not able to copy a folder with all its files (that begin with a certain character) and subfolders (beginning with the same character) to another folder in Windows 7. I used copy, xcopy and robocopy but all I do achieve is, that all files in the top level directory and all the subdirectories but without their content get copied. What am I doing wrong? I tried several ways, my last try was:

robocopy path\path\here x* path\path\there /E

I also tried

/COPYALL
/MIR

but with the same result.

2

2 Answers

Your robocopy syntax is incorrect. Is should be:

robocopy path\path\here path\path\there x* /E
4

ROBOCOPY path\path\here path\path\there \*.* /E

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like