The internal Play command is used to play selected sound files. This is a very simple built-in utility - it's not supposed to replace a dedicated sound player. It may also not support all audio formats - fundamentally, only .wav files are supported, although .mp3 and other formats can also work if suitable codecs are installed for them.
Command Arguments:
Argument |
Type |
Possible values |
Description |
---|---|---|---|
(no argument) |
- |
- |
Plays selected sound files in the current folder using the internal sound
player. |
FILE |
/M |
<filename> ... |
Plays the specified sound file or files. This lets you play a specific
sound - for example, you might add this command to the end of a button to
signify that a function had completed. You would normally want to use the
QUIET argument as well in these cases. |
QUIET |
/S |
(no value) |
Plays the specified (or selected) sounds without displaying the Play
dialog. |
STOPALL |
/S |
(no value) |
Stops any sounds that are currently playing in the background (due to
the Play QUIET command). Example: Play STOPALL |