Sound

From Wiki
Jump to: navigation, search


Synopsis

sound [filename]

Description

The sound command plays a wave file or the SystemDefault beep.


Example

if #charghost = YES
{
sound
halt
}


Note: For File Use:


If the sound file is in a directory which exists in your dos PATH environment variable, you do not need to include a full path. Try this:

sound chimes.wav


You should hear the windows chimes sound. Sound will also accept absolute paths.

sound c:\windows\media\chimes.wav


See Also

Miscellaneous

  • Miscellaneous commands
display Shows a message
execute Executes an external program
linesPerCycle Sets the execution speed
set sets a variable to a value (variable assignment)
send Sends a HTTP request to a server and runs the code that is returned
shutDown Shuts your computer down
sound Plays a wave file or the SystemDefault beep
str performs a operation on a string
tile retrieves information about tiles