You need these commands:
dir *.avi *.mpg *.mpeg *.wmv *.asf /b>a.bsl
start a.bsl
You could also create a batchfile with these commands and place it somewhere in the path.
If you encounter problems with special characters in the filenames (i.e. ?¤, ?¶, ??,...), you could use my q'n'd-app
As2An, which converts the file from ASCII (created by the DIR command) to ANSI (read by BSPlayer).
This leads to:
dir *.avi *.mpg *.mpeg *.wmv *.asf /b>a.bsl
as2an a.bsl
start a.bsl
2 points about As2An:
- Read the doc. It's short, so read it.
- If a.bsl is 0 bytes long, it will throw an exception.