the command I use is: sndrec32 c:\foo\chime2.wav
This opens the sound recorder and opens the wav file but
doesn't play the wav file.
Is there a command I can use to play the file in the
sound recorder then close the sound recorder.
An example of this would be clicking on a .wav file in
the Explorer(file manager) This does exaxctly what I want
the .bat file to do,
OK. Try this: sndrec32 "c:\foo\chime2.wav" /play /close
This will play the file, then close it. Yes, you need the quotes.
Without them, windows thinks /play and /close are part of the file
name.
That worked for me. Good luck.
***********************************************************
* Stephen Kazmierczak * Strength is irrelevant. *
* Z...@Wpi.Edu * Resistance is futile. *
* * You will be assimilated. *
* FTP: zik.res.wpi.edu * Thank you. Drive through. *
***********************************************************