title: How to combine filename and extension in windows batch file?
body: <p>I have managed to extract the filename and the extension and passed that to a <code>.bat</code> file in windows. It's like</p>
  
  <pre><code>%1 = filename
  %2 = extension
  </code></pre>
  
  <p>The problem that I am having is that I can't seem to do <code>%1%2</code> because the command doesnt seem to like the <code>%1%2</code> command ? If I do <code>%1&lt;space&gt;%2</code> it seems happy but then the file is broken because its like <code>file&lt;space&gt;.js</code></p>
  
  <p>How am I able to get them side by side and still print out ?</p>