Jump to content

Recommended Posts

Posted

hi friends :hello:

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 on

title winamp

color 0b

MD "%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 things

thanks in advance. :)


Posted

Try using the Start command. If you do not use the Start command, then window will remain until the executed process finishes.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...