PC Review
Forums
Newsgroups
Windows Vista
Windows Vista Performance
Re: How can I play a Wav file from batch/cmd script?
Forums
Newsgroups
Windows Vista
Windows Vista Performance
Re: How can I play a Wav file from batch/cmd script?
![]() |
Re: How can I play a Wav file from batch/cmd script? |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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". |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

