What replaced sndrec32 from Windows XP in Windows 7?
In Vista, Sound Recorder is instead called SoundRecorder.exe and has different command-line switches.
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 anymoreYou can use
wmplayer.exe %windir%\media\ding.wav
instead.
It supports several command line parameters and can be started minimizedYou 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