Here are some scripts.
mediarunner.bat - it uses the active objects of the Windows media player, so you cannot use it if there is no Windows Media Player installed (although it usually comes with Windows). It takes only one argument - the path to the file you want to play.
spplayer.bat - uses SP Voice objects, but can only play .avav.Again files, it takes the path to the file you want to play as the only argument.
soundplayer.bat - uses Internet Explorer objects and a specific bgsound tag that can only be used in Internet Explorer.Can play.mp3, wav, .. files. It can take two arguments. The file you want to play and the sound volume (number from -10000 to 0):
call soundplayer.bat "C:\Windows\Media\Windows Navigation Start.wav" 0
source share