I have two folders with videos. I would like a batch file that prints
the filenames (with or without extension) to a text file and then
sorts the list.
On Mon, 27 Aug 2012 19:23:22 -0400, Metspitzer wrote:
Write me a batch file please?
I have two folders with videos. I would like a batch file that prints
the filenames (with or without extension) to a text file and then
sorts the list.
Sorts the list by file length? Date created? Modified? File-name
extension?
You don't need a batch file, just one command:
dir /B /O:N > mylist.txt
This will list just the names with extensions, sorted by name.
Try opening up a command window and typing dir /?
(unless you are unwilling to learn something). This will show a list of
the available arguments, including the other sort options.
Replies