PC Review Forums Newsgroups Windows Vista Windows Vista Performance Re: How can I play a Wav file from batch/cmd script?

Reply

Re: How can I play a Wav file from batch/cmd script?

 
Thread Tools Rate Thread
Old 11-09-2008, 08:30 AM   #1
propman
Guest
 
Posts: n/a
Default Re: How can I play a Wav file from batch/cmd script?


hbfavor <guest@unknown-email.com> wrote in
news:fdeb5ca3e6aeeabfa76b2cea7763ae20@nntp-gateway.com:

>
> Thanks for the reply, but that syntax doesn't work for me with any

media
> player so far.
>
> I really need this functionality to run from a batch/cmd file for
> audible cues for certain events. I don't want to see the player
> interface, and I want it to exit after playing the wave file. I've

been
> trying to get this kind of command to work:
> start /min "player.exe" /play /close "wavefile.wav"
>
> With some media players I can get them to start minimized and play the
> file, but then they try to parse the /play /close switches as media
> files and stop with error messages. They also move the active window

to
> the media player. With WMP, it starts but doesn't play the file, much
> less exit gracefully.
>
> I know there has to be a simple way to get this done. I just can't
> figure out how. :cry: Any advice would be much appreciated.
>
>


Media Player Classic download:

http://sourceforge.net/project/show...group_id=205650

Install in any directory of your choosing.

Run program and then click on the Help button for Commandline
Switches....or open Command Prompt session in the directory where you
installed mplayerc.exe; type "mplayerc /help".




  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off