title: Insert current date in to destination folder structure
body: <p>Is it possible to insert todays date in Scandinavian format (yyyymmdd) in to the destination folder when using robocopy ie</p>
  
  <pre><code>robocopy "\\myserver\newlayout" "\\myserver\oldlayout 20120511" /MIR
  </code></pre>
  
  <p>I just need to support this while we transition our folder structures.</p>
  
  <p>Cheers</p>
  
  <p>Aha I've solved it by looking at other answers.</p>
  
  <pre><code>set "myDate=%date:~6,4%%date:~3,2%%date:~0,2%"
  robocopy "\\myserver\newlayout" "\\myserver\oldlayout %myDate%" /MIR
  </code></pre>