title: Batch File - Remove Second File Extension
body: <p>Using a batch file is there a way that I can strip off the .deploy extension from all files in a directory.</p>
  
  <p>For example </p>
  
  <pre><code>1.txt.deploy =&gt; 1.txt
  2.txt.deploy =&gt; 2.txt 
  </code></pre>
  
  <p>etc</p>