(page requirements)

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 /close c:\windows\media\ringin.wav

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

 
 
Applicable Keywords : Windows NT, Windows NT 4.x, Windows, Windows 95
 
 
 
Copyright © 2009 Chami.com. All Rights Reserved. | Advertise | Created in HTML Kit editor