I'm trying to create a batch script that:
-Copies the new files' filenames
-Pastes each filename in a new line in a text file before the last line
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:
This is the last line
Note that I don't want the .JPG extension in the text file.