Purpose:Play  MP3, .WAV, Midi, and other sound files

 

Format:PLAYSOUND [/A /M /S /U /Vn] filename

 

filenameThe file to play

 

/A(synchronous)/U(n mute)
/M(ute)/V(volume)

/S(ynchronous)

 

File Selection

 

Supports extended wildcards, multiple file names, @file lists, and include lists.

 

Usage:

 

PLAYSOUND "plays" MP3, .WAV, Midi and other types of sound files for which Windows has an appropriate codec installed. It determines the file type automatically from its contents, not its file extension, so it can play sound files which have an unknown file extension.

 

By default, PLAYSOUND operates in synchronous mode, which means TCC-RT waits for the sound file to complete and its window to close before continuing with the next command in a batch file or alias, or prompting you for a new command. You can change this default behavior with the /A switch, described below.

 

You can cancel the playing of a synchronous sound file by pressing Ctrl-Break while it is playing.

 

Options:

 

/APlays the sound file in asynchronous mode. Control returns to TCC-RT immediately for a new command or to execute the next command in the current batch file or alias.

 

/MMute the volume.

 

/SPlays the sound file in synchronous mode (this is the default). TCC-RT pauses until the file has finished playing and its window closes.

 

/UUnmute (restore the previous volume level).

 

/VSets the volume level. The range is 0 (silent) to 100.