I'm doing the following to list some of my favorite videos in a directory (I'm going to pipe them into a text file soon..)
for %i in (*avi *.mkv *mp4) do @echo %~ni
I'd like to alphabetically order the output of this command. I think I'd probably use sed or awk or something under Linux, but I'm on Windows 7 here using the command prompt (and soon, a batch file.)
How would I achieve this? (without using some external program or language)
Thanks! John.
