JayDogg Posted July 11, 2008 Posted July 11, 2008 (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.exepause call cleanup.batdel %0the 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 %0but 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 July 11, 2008 by JayDogg
jaclaz Posted July 12, 2008 Posted July 12, 2008 (edited) Try START "Nero" /DC:\Install\Nero\ /WAIT nero.exeorSTART "Nero" /WAIT nero.exehttp://www.ss64.com/nt/start.htmlbe aware of the "Title" and 8.3 naming with /D option problems.jaclaz Edited July 12, 2008 by jaclaz
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