I have a Dir Command I use to make a text list of a directory of files.. "dir /a /b /-p /o:gen > z-file_list.txt"
Dose anyone know how I can change this so the text list dose not contain any extensions? So just the filename?
Thanks in advance!
- EDIT -
Sorry I wasn't clear. What I mean is that his command will save a txt file with a file list of the contents of the directory.
The text file will look like this
filename.ext
filename.ext
filename.ext
filename.ext
I am trying to work out how to get the text file to look like this.
filename
filename
filename
filename
Thanks.. sorry I was unclear.