Solved

Play a Wav File and Close Application from  a Program

Posted on 2009-07-10
2
390 Views
Last Modified: 2012-05-07
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?
0
Comment
Question by:RDB1369
2 Comments
 
LVL 26

Accepted Solution

by:
Pber earned 500 total points
ID: 24828910
Hi there, I've done this exact thing.  See this script here.
 
http://www.microsoft.com/technet/scriptcenter/resources/qanda/nov04/hey1103.mspx 
0
 

Author Closing Comment

by:RDB1369
ID: 31602312
This worked perfectly.  Thanks
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft has released remote PowerShell capabilities to all commercial Office 365 customers. So you can be controlled via PowerShell and not from the Office 365 admin center Download Windows PowerShell Module for Lync Online http://www.micros…
The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question