Command Prompt for Windows

Command PLAY


Play a wave sound (ie. .WAV) file.


PLAY [drive:][path]filename
[drive:][path]filenameSpecifies the sound file to play.


Command PLAY will only play a wave sound file when a suitable audio device is installed. When no audio device is installed, then no sound will be played or heard.

Wildcards are not allowed for parameter filename.

Also see command BEEP, VOLUME and Batch Files.