muslim Posted November 16, 2004 Share Posted November 16, 2004 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 errorscan any one help meCLSECHO.ECHO Listen to Quran While Install ApplicationsECHO Please wait...run "%systemdrive%\Program Files\Windows Media Player\mplayer2.exe" "%systemdrive%\drivers\002_cre\Ketaab_Allah.mp3"for more explainhttp://www.msfn.org/board/index.php?showto...=0entry221369 Link to comment Share on other sites More sharing options...
muslim Posted November 16, 2004 Author Share Posted November 16, 2004 up Link to comment Share on other sites More sharing options...
MCT Posted November 16, 2004 Share Posted November 16, 2004 down? give it a min man.. u only posted 45mins ago..start "%programfiles%\Windows Media Player\mplayer2.exe" "%systemdrive\Drivers\002_cre\ketaab_allah.mp3" Link to comment Share on other sites More sharing options...
muslim Posted November 17, 2004 Author Share Posted November 17, 2004 hi what do you mean aboutdown? give it a min man.. u only posted 45mins agoand i tried this code and it work ok but i found a new problemwhen batch file runing it run program mplayer2.exe and run MP3 its okbut after that the batch file stop and cant't continue it still run tthis mp3 and stophow can i run mp3 and continue install all applications Link to comment Share on other sites More sharing options...
aresgodofwar Posted November 17, 2004 Share Posted November 17, 2004 hi what do you mean aboutdown? give it a min man.. u only posted 45mins agohe means that not everyone will know the answer to your question. be patient and give it some time. Link to comment Share on other sites More sharing options...
Synapse Posted November 17, 2004 Share Posted November 17, 2004 when batch file runing it run program mplayer2.exe and run MP3 its okbut after that the batch file stop and cant't continue it still run tthis mp3 and stophow can i run mp3 and continue install all applicationscall it from another batch file....example...Install.cmd:CLSECHO.ECHO Listen to Quran While Install ApplicationsECHO Please wait...start music.cmdthen 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 More sharing options...
muslim Posted November 17, 2004 Author Share Posted November 17, 2004 i do it but also stopin install file areCLSECHO.ECHO Listen to Quran While Install ApplicationsECHO Please Listen%systemdrive%\drivers\000_con\001_HSF\info.cmdand in quran file "%systemdrive%\Program Files\Windows Media Player\mplayer2.exe" %systemdrive%\install\Ketaab_Allah.mp3CLsEXITif you find any errors tell me Link to comment Share on other sites More sharing options...
muslim Posted November 18, 2004 Author Share Posted November 18, 2004 up Link to comment Share on other sites More sharing options...
MCT Posted November 18, 2004 Share Posted November 18, 2004 dude, its ONLY been 4 hrs, stop bumping your post 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 /switchnothing 2 it.. Link to comment Share on other sites More sharing options...
muslim Posted November 18, 2004 Author Share Posted November 18, 2004 ok where the path of mp3 and the path of mplayer2.exe Link to comment Share on other sites More sharing options...
MCT Posted November 18, 2004 Share Posted November 18, 2004 i dont know where your mp3 is located, u put the path lol Link to comment Share on other sites More sharing options...
muslim Posted November 18, 2004 Author Share Posted November 18, 2004 the path of mediaplay2 "%systemdrive%\Program Files\Windows Media Player\mplayer2.exe"the path of mp3%systemdrive%\install\Ketaab_Allah.mp3tell me how Link to comment Share on other sites More sharing options...
Synapse Posted November 18, 2004 Share Posted November 18, 2004 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.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 More sharing options...
muslim Posted November 18, 2004 Author Share Posted November 18, 2004 are any member have any way Link to comment Share on other sites More sharing options...
Synapse Posted November 19, 2004 Share Posted November 19, 2004 are any member have any wayi'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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now