MSFN Forum: Play MP3 During Batch File - MSFN Forum

Jump to content


Warning!

This forum is likely to contain threads with large image files, and as such those threads could be slow for 56/128kbps users!
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Play MP3 During Batch File Rate Topic: -----

#1 User is offline   battleangel3222 

  • Member
  • PipPip
  • Group: Members
  • Posts: 113
  • Joined: 16-July 04

Posted 14 September 2004 - 09:39 PM

Hi guys. I would like to play an MP3 While my batch file is running, I can get it to run in WMPlayer, but when you first install WMPlayer it comes up with the first thing of selecting options...etc.... so is there a way I can get it to play with Media player classic or some other way? Mabie the old cd player? If so, how can i use a command to tell it to open with that program and not wmplayer.


#2 User is offline   godofwar 

  • Group: Members
  • Posts: 3
  • Joined: 11-August 04

Posted 14 September 2004 - 09:59 PM

Tell it the program you want it to associate with using command line

run "PathToProgram" "PathToFile" (Note the " " are only required if the path contains spaces)

eg: run "C:\Program Files\MPC\mplayerc.exe" "C:\MP3s\song.mp3"

Should work fine

#3 User is offline   battleangel3222 

  • Member
  • PipPip
  • Group: Members
  • Posts: 113
  • Joined: 16-July 04

Posted 15 September 2004 - 05:28 AM

Thanks! Just one problem though. Got any ideas of programs I can use that windows Allready has on it besides WMPlayer9? It also has to play the file (not just store it in the program and you have you press play to start it)

#4 User is offline   XtremeMaC 

  • MSFN SuperB
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 5,070
  • Joined: 13-October 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 15 September 2004 - 06:10 AM

u could try winamp, install it first then have a batch to call the mp3 and then winamp will open the mp3 automatically and will start playing. though u have to set the associations, so either use winamp msi or try to find switches for nullsoft winamp exe.

also u can use mplayer as godofwar suggested. u can just put the mplayerc.exe into your $oem$/system32 folder and then useing the command line parameters in a batch u'll write call the mp3..

#5 User is offline   battleangel3222 

  • Member
  • PipPip
  • Group: Members
  • Posts: 113
  • Joined: 16-July 04

Posted 15 September 2004 - 08:40 AM

thanks ill try installing winamp first, it sets the assosiations itself (I will be using the MSI). Correct?

#6 User is offline   muslim 

  • Junior
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 03-April 04

Posted 15 November 2004 - 10:13 AM

hi my friend
i try it bur didn't work
and this is my batch

CLS
ECHO.
ECHO Listen to Quran While Install Applications
ECHO Please wait...
run "%systemdrive%\Program Files\Windows Media Player\mplayer2.exe" "%systemdrive%\drivers\002_cre\Ketaab_Allah.mp3"


how can fix it

#7 User is offline   muslim 

  • Junior
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 03-April 04

Posted 15 November 2004 - 10:16 AM

CLS
ECHO.
ECHO Listen to Quran While Install Applications
ECHO Please wait...
run "%systemdrive%\Program Files\Windows Media Player\mplayer2.exe" "%systemdrive%\drivers\002_cre\Ketaab_Allah.mp3"


I you see any error tell me and how can i fix it

#8 User is offline   muslim 

  • Junior
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 03-April 04

Posted 15 November 2004 - 05:05 PM

up

#9 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 15 November 2004 - 05:30 PM

Hey, for starters, posting this topic in the correct section of the forum would have helped fetch more responses. Having this posted in:
MSFN -> Customizing Windows -> Windows Desktops Screenshots -> Play MP3 During Batch File
Looks pretty out of the way - you tell where you want it moved to!

#10 User is offline   Famer 

  • Aka Snake Plissken
  • PipPipPipPip
  • Group: Members
  • Posts: 629
  • Joined: 07-October 03

Posted 15 November 2004 - 05:43 PM

I think this should go here----> http://www.msfn.org/...hp?showforum=10

#11 User is offline   mrnxdmx 

  • Junior
  • Pip
  • Group: Members
  • Posts: 91
  • Joined: 17-November 04

Posted 02 February 2005 - 03:14 AM

No, go here:
http://www.msfn.org/...showtopic=32452

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy