Go Back   TechArena Community > Technical Support > Computer Help > Windows Vista > Windows Vista Performance
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



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

Windows Vista Performance


Reply
 
Thread Tools Search this Thread
  #1  
Old 11-09-2008
Member
 
Join Date: Sep 2004
Posts: 12
How can I play a Wav file from batch/cmd script?

Hello friends, am I need of small help from you all. I?m using Windows Vista 32 bit and trying to play few wave files thought command scripts likes I use to do earlier in Windows 98 and Windows NT. But seems like it wont work in Vista.

Do you guys have any knowledge about the same? Please let me know if it can be done in Vista as well, if yes, tell me how? Thanks a lot.

Reply With Quote
  #2  
Old 11-09-2008
Member
 
Join Date: Sep 2005
Posts: 185
Re: How can I play a Wav file from batch/cmd script?

If am not wrong, by the term Command Script, do you mean Command line? If yes, than you can do it in Vista as well and it works fine. Here is how you can do the same. Just run the following command:

<audio_program> /play /close <file>

This stands for (for example): %ProgramFiles%\Windows Media Player\wmplayer.exe /play /close C:\music\1.wav

Let me know if you face any problem.
Reply With Quote
  #3  
Old 11-09-2008
Member
 
Join Date: May 2006
Posts: 973
Re: How can I play a Wav file from batch/cmd script?

The best I can suggest you for the same is download Windows Media Player Classic. Install it anywhere on your system. Once done, launch it and click on Help. This will show you some commandline switches.
Reply With Quote
  #4  
Old 13-09-2008
Member
 
Join Date: Sep 2004
Posts: 12
Re: How can I play a Wav file from batch/cmd script?

Thanks a lot guys. That sounds really useful. Will give it a try tonight and let you know the results.

Thanks
NaFula
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Vista > Windows Vista Performance
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How can I play a Wav file from batch/cmd script?"
Thread Thread Starter Forum Replies Last Post
Windows Batch script to read file SinghR Windows Server Help 1 28-04-2012 12:56 PM
batch script to find a file stevenwhite Software Development 1 10-04-2012 12:55 PM
Batch Script Text file parse tator.usenet@gmail.com Windows Server Help 5 25-03-2009 02:12 AM
Batch Script to parse lines in text file jntoner1@gmail.com Windows Server Help 8 28-01-2009 04:38 AM
How to create a script in a DOS batch file to do a loop? Jon Osborn Windows Server Help 2 27-05-2008 06:41 PM


All times are GMT +5.5. The time now is 06:24 PM.