title: ffmpeg/batch file: input format stays in output file name
body: <p>I created this batch file to put all aac files in one directory into an m4a container. The command works so far, but every new file generated has the format of the input file in the output files name.</p>
  
  <p>For example: test(.aac) is in an m4a container but is NAMED test.aac(.m4a)</p>
  
  <p>Here is the .bat file:</p>
  
  <pre><code>for /r %%X in (*.*) do (
      ffmpeg -i "%%X" "%%X.m4a"
  )
  pause
  </code></pre>
  
  <p>I'll be grateful for any easy solution, best regards and thanks to everyone</p>