darksimoon Posted October 2, 2005 Posted October 2, 2005 hi friends i have a little question about batch file for winamp.i want to play some music at RunOnceExe stage. in order to do this, i am using the below batch script.=============================@echo ontitle winampcolor 0bMD "%systemdrive%\MyMusic"MD "%systemdrive%\Program Files\TempAmp"xcopy /y "%cdrom%\MyMusic\*.*" "%systemdrive%\MyMusic" xcopy /y "%cdrom%\Winamp\*.*" "%systemdrive%\Program Files\TempAmp" /s"%systemdrive%\Program Files\TempAmp\winamp.exe" "%systemdrive%\MyMusic\Dursun Zaman.mp3"%~n0.cmd >> %systemdrive%\%~n0.txt & EXIT=============================it begins as expected that is winamp starts to play my music but it doesnt quit from commandline window , it hangs and doesnt go on to next installation except when closing manuelly command window. can you correct it please or give me a common knowledge to prevent such thingsthanks in advance.
MHz Posted October 2, 2005 Posted October 2, 2005 Try using the Start command. If you do not use the Start command, then window will remain until the executed process finishes.
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