Play sound file!

Media: You can play the sound file (from script).:

//  File media.w_js (JScript)
var fname = "C:\\1.wav"
    Window.PlaySoundASync(fname);
//  Window.PlaySoundSync(fname);
'VBScript
fname = "C:\1.wav"
Window.PlaySoundASync(fname)
'Window.PlaySoundSync(fname)
content
The new script host. It is not wscript.exe
JScript and VBScript are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.