Solved

Play a Wav File and Close Application from  a Program

Posted on 2009-07-10
2
392 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

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…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
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…
Suggested Courses

630 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