Solved

Play a Wav File and Close Application from  a Program

Posted on 2009-07-10
2
391 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This collection of functions covers all the normal rounding methods of just about any numeric value.
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
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…

752 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