title: Telling XCOPY to copy hidden folders as well as hidden files
body: <p>I'm trying to get XCOPY to copy an entire directory tree and all its files, however, one of the directory paths includes a hidden folder, and although you can use the /h parm to specify copying hidden files, this doesn't seem to apply to hidden folders.  I've been all over the docs for XCOPY and there doesn't seem to be one that deals with hidden folders.  But perhaps someone knows differently?</p>
  
  <pre><code>`xcopy c:\profiles c:\aprofiles /r /e /h /v /y 
  </code></pre>
  
  <p>The above works fine except for the hidden <em>folders</em>.  I suppose that I could change the hidden folders to make them non-hidden, but there are a few hundred of them.</p>