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

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
  • Recently Browsing   0 members

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