title: Need help with batch-file
body: <p>I have a very poor experience in writing batch-files.
  And I need to do the following:</p>
  
  <p>directory contents 2 files - .exe and .zip</p>
  
  <p>I need to write batch file, merging these two files with resulting file named after zip-file.
  In hardcoded variant it looks like this:</p>
  
  <pre><code>copy /b init.exe+archive.zip archive.exe
  </code></pre>
  
  <p>But it would be great if I could put in my directory zip-file with arbitrary name, click on my bat-file and get the exe-file with the name same as my archive's name.</p>
  
  <p>P.S. (init.exe is never changes and directory will always containt only one zip-file at a time)</p>
  
  <p>Thanks a lot for any help with this. </p>