Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a small VB Script that calls a system sound as an alert. In Windows XP I used sndrec32 to play that sound. But sndrec32 was not continued in Vista and Windows 7. It was light and quick and ideal for such tasks.

Q: What replaced this tool? When you click the test button in the sounds window what is it that plays it?

share|improve this question

1 Answer 1

In Vista, Sound Recorder is instead called SoundRecorder.exe and has different command-line switches.

enter image description here
Source


  • The only command line option I found so far can only be used for recording.
    SoundRecorder /FILE myrec.wma /DURATION 0000:00:30

  • The old /PLAY "C:\Path\File.wav" /CLOSE switch doesn't work anymore

  • You can use wmplayer.exe %windir%\media\ding.wav instead.
    It supports several command line parameters and can be started minimized

  • You could copy the old sndrec32.exe from Windows XP over to your Windows 7 into the same place. It needs the "Run as Administrator" option checked

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.