title: Batch Script To Copy Filenames?
body: <p>I'm trying to create a batch script that:</p>
  
  <ul>
  <li>Copies the new files' filenames</li>
  <li>Pastes each filename in a new line in a text file before the last line</li>
  </ul>
  
  <p>For example:
  I have files named Picture.JPG and Picture2.JPG in the folder.
  The batch needs to copy the filenames "Picture" and "Picture2" and pastes it in textfile.txt, which already has a last line that I don't want to overwrite, so it would appear like this:</p>
  
  <pre><code>Picture
  Picture2
  This is the last line
  </code></pre>
  
  <p>Note that I don't want the .JPG extension copied.</p>
  
  <p>Any ideas?</p>