[ acky.net logo ]




Acky.net Tips

Santrex
Santrex

 

Play wave files from .BAT programs
If you ever need to play a wave file (*.WAV) from the DOS/Command Prompt (from a .BAT/.CMD file for example), you can use the following command:

Windows 95:
mplayer.exe /play /close <wave file>

Windows NT:
mplay32.exe /play /close <wave file>

For example:

Windows 95:
mplayer.exe /play /clos c:\windows\media\ringin.wav

Windows NT:
mplay32.exe /play /close c:\winnt\media\ringin.wav