title: dos command to sperate file name and extension into variables
body: <p>I need to copy a file x.dtsx from location a to location b.</p>
  
  <p>If x.dtsx already exists in b then I need to rename x.dtsx to x_Standby.dtsx Then, after renaming copy x.dtsx to b</p>
  
  <p>My current code looks like this:</p>
  
  <pre><code>if exists %1 rename %1 %(should be 1_standy.extension)
  xcopy %1 %2
  </code></pre>