Jump to content

Recommended Posts

Posted (edited)

Hi Im making a batch script that runs an installer then calls a clean up batch script, here it is

cd "C:\Program Files\Nero"

start Nero.exe

pause

call cleanup.bat

del %0

the batch script it calls is

del /f /q "C:\Documents and Settings\Default User\Desktop\Nero SrartSmart.lnk"

rd /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\Nero 8"

rd /s /q "C:\Documents and Settings\All Users\Start Menu\Programs\VSO"

del /f /q "C:\C:\Program Files\VSO\ConvertX.exe"

del /f /q "C:\C:\Program Files\VSO\ConvertXToDVD.exe"

del /f /q "C:\C:\Program Files\Nero\Nero.exe"

del /f /q "C:\C:\Program Files\Nero\Nero-8.1.1.0_eng.exe"

del %0

but what I need to know is how to make the pause wait till nero.exe is fully installed then call the cleanup.bat, is there a way I could set a time on for the pause to wait?

Any help would be great cause Im kinda new to batch scripts

Edited by JayDogg

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...