<syntaxhighlight>PlaySound("PathFilename")</syntaxhighlight> Where: Where: [['''PathFilename]] ''' - a string expression specifying the path and filename of the wave file to be played .
==Notes == Example ==== * [http://www2.research.att.com/~ttsweb/tts/demo.php AT&T Labs Natural Voices® Text-to-Speech Demo] makes it possible to generate your own sound files.
<syntaxhighlight>Play ding.wav sound file located in the root directory of the C: hard drive: == Example ==
PlaySound("C:\Play the 'ding.wav");</syntaxhighlight> ' sound file located in the root directory of the C: hard drive: