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'm trying to copy a folder on my internal hard drive to my external hard drive using robocopy with the following command:

robocopy "source folder" "destination folder" *.* /E /DCOPY:T /COPYALL /LOG:"log folder/log.log" ATTRIB -S -H "destination folder"

After running the command, the process stops immediately and I get this error in my log file:

ERROR : Invalid Parameter #10 : "-H"

I want to remove the hidden and system attributes from all the folders and sub-folders I'm copying. I'm using version XP026 of robocopy.

share|improve this question
up vote 1 down vote accepted

Looking at this Robocopy syntax, Robocopy supplies parameters to do this itself (/A-:SH), so you should try those:

robocopy "source folder" "destination folder" *.* /E /DCOPY:T /COPYALL /LOG:"log folder/log.log" /A-:SH
share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.