title: robocopy files but not subdirectories
body: <p>I'm trying to use robocopy to mirror files that are loose on my D:\ drive. When I run the robocopy it also tries to mirror all subdirectories and their contents as well. I didn't find any option to tell robocopy to work only with files but not with directories. Here's what I'm running:</p>
  <pre><code>SET var_date=%DATE%
  
  robocopy &quot;D:\ &quot; &quot;F:\backup %var_date%\ &quot; *.* /R:1 /W:1 /XJ /XO /A-:RASH /PURGE
  </code></pre>
  <p>I was hoping that maybe specifying files as <code>*.*</code> would be enough to mark that the object needs an extension, so it would exclude directories but that didn't do it.<br />
  I also tried using <code>/LEV:0</code> hoping it would mean only files but that grabs directories too.<br />
  I removed <code>/PURGE</code> but it also had no effect.</p>