title: How can I output a filename without extension in batch?
body: <p>I'm a real "newbe" in batch and wrote the following script:</p>
  
  <pre><code>chdir C:\Users\oRookie\Desktop\batch
  dir /b *txt &gt; out.txt
  </code></pre>
  
  <p>The file <code>out.txt</code> is created and contains <code>out.txt</code> . </p>
  
  <p>So far so good let's try to get more advancaded. Now I want it's content to be just <code>out</code>´. So I need some way to delete the fileextension in the Output, but without deleting the fileextension itself. How can I do it?</p>
  
  <p>Thanks in advance.</p>