Play a Wav File and Close Application from a Program

I need to alert users when a specific action happens in our database.  I thought I could execute a batch job that would play a wav file.  My problem is that I can execute the wav file and it will play but I cannot seem to close media player through the program.  The code I tried was
mplayer32 /play /close test.wav.  Does anyone have a good idea?
RDB1369Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
PberConnect With a Mentor Solutions ArchitectCommented:
Hi there, I've done this exact thing.  See this script here.
 
http://www.microsoft.com/technet/scriptcenter/resources/qanda/nov04/hey1103.mspx 
0
 
RDB1369Author Commented:
This worked perfectly.  Thanks
0
All Courses

From novice to tech pro — start learning today.