title: Can't create multiple folders using md for UNC path
body: <p>This is something that is mystifying me. </p>
  
  <p>We have a remote share \SomeMachine\Mirror
  with a sub folder \Reports</p>
  
  <p>so 
  \\SomeMachine\Mirror\Reports</p>
  
  <p>We then have a batch command that runs
  md "\\SomeMachine\Mirror\Reports\YYYY\YYYY-MM\YYYY-MM-DD"</p>
  
  <p>where the date parts are substituted for the current date.</p>
  
  <p>I can run this command from my machine and it correctly creates the path,
  but from the server (Windows Server 2008 R2), it fails saying "The directory or file cannot be created".  Stranger still, if I do the md in stages, first creating the YYYY path then the YYYY-MM path, it works fine.  Not sure if there are any permissions that would prevent one method and not the other?</p>
  
  <p>Both command shells state their version as 6.1.7601, and mkdir /? states that it will create intermediate paths.</p>
  
  <p>Anyone have any idea what might be going wrong?
  Thanks!</p>