Jump to content

how can i play Mp3 During Batch File


muslim
 Share

Recommended Posts

Hi guys. I would like to play an MP3 While my batch file is running, i want run it by

mplayer2.exe i try this batch but it may be had errors

can any one help me

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"

for more explain

http://www.msfn.org/board/index.php?showto...=0entry221369

Link to comment
Share on other sites


hi what do you mean about

down? give it a min man.. u only posted 45mins ago

and i tried this code and it work ok but i found a new problem

when batch file runing it run program mplayer2.exe and run MP3 its ok

but after that the batch file stop and cant't continue it still run tthis mp3 and stop

how can i run mp3 and continue install all applications

Link to comment
Share on other sites

when batch file runing it run program mplayer2.exe and run MP3 its ok

but after that the batch file stop and cant't continue it still run tthis mp3 and stop

how can i run mp3 and continue install all applications

call it from another batch file....

example...

Install.cmd:

CLS

ECHO.

ECHO Listen to Quran While Install Applications

ECHO Please wait...

start music.cmd

then in music.cmd:

start "%programfiles%\Windows Media Player\mplayer2.exe" "%systemdrive\Drivers\002_cre\ketaab_allah.mp3"

(maybe an "exit" here so that when it starts the music it closes the Dos prompt for music.cmd)

that should tell it to play and move on to installing stuff.

Link to comment
Share on other sites

i do it but also stop

in install file are

CLS

ECHO.

ECHO Listen to Quran While Install Applications

ECHO Please Listen

%systemdrive%\drivers\000_con\001_HSF\info.cmd

and in quran file

"%systemdrive%\Program Files\Windows Media Player\mplayer2.exe" %systemdrive%\install\Ketaab_Allah.mp3

CLs

EXIT

if you find any errors tell me

Link to comment
Share on other sites

dude, its ONLY been 4 hrs, stop bumping your post :realmad:

what are you wanting 2 do?

u wanna install programs & have a batch file play music while its installing?

mplayer2.exe "file.mp3"
start /wait programuwant2install.exe /switch

nothing 2 it..

Link to comment
Share on other sites

Muslim, I made an Application to do just this, since it doesn't look like Mplayer2.exe can do this.

i'm just waiting for a couple replys on my VB6 question post. so far it seems to work perfect. and if enough people show intrest in it maybe a future release.. right now my program only supports 1 MP3 file.

UAP.jpg

the dos command prompt is just there to show that while it plays music it will install stuff too. but well.. in the form of Ping, Netstat, Ipconfig executing.

Link to comment
Share on other sites

are any member have any way

i've tried every command line option i could think of and everytime it starts playing the music and stops until the media player is closed. so i don't think there is a possible way besides maybe VBScript to do this which i'm not familiar with.

so once i release my program it should help you since it allows the installation to keep going.

i've also done about 2 hours of research into this.. and i haven't been able to find any command line options that will allow the music to play then move on to the installation.

so just wait a day or two till i find out which Files i need to pack with my program for it to work on everyones computers.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...