title: Rename a directory during installation with the REN command
body: <p>I decided that the easiest way to rename the directory is through the REN command in windows with Exec. However, it just doesn't work. The program runs successfully, but doesn't do anything. Below is a basically what I'm trying to do. </p>
  
  <pre><code>OutFile "test.exe"
  Section
  Exec 'REN "C:\Rename me" "Done"'
  SectionEnd
  </code></pre>
  
  <p>and by the way</p>
  
  <pre><code>REN "C:\Rename me" "Done" 
  </code></pre>
  
  <p>works fine in cmd. I also tried RENAME with the same results.
  Any idea what I'm doing wrong?</p>