I wrote a simple Windows batch file to let me quickly play tracks matching some pattern from my music library (on f: drive) on a painfully slow machine (opening iTunes takes about 3 minutes on this machine!). It supports regular expressions via the findstr
command and uses mplayer to play the tracks. All I have to do is press Windows+R and type:
play u2
or:
play "neighbo.+rhood"
or:
play "blink[0-9][0-9][0-9]"
The batch file is like this, in play.bat
.
cd /d f:
findstr /I /R %1 dirlist.txt > playlist.txt
mplayer -playlist playlist.txt
Both mplayer and play.bat should be added to your path.