owoods Posted January 20, 2005 Share Posted January 20, 2005 HiOK, having done 23 installs so far, the "cleanup" batch file always kills itself just before it finishes. Here is my code:ECHO.ECHO Removing Program Installation DirectoriesECHO Please wait...rmdir %systemdrive%\Install /S/Q--------------------------ECHO.ECHO Removing Temporary Driver Installation DirectoriesECHO Please wait...rmdir %systemdrive%\Drivers /S/Q It always kills itself where i have put the -------Anyone ideas?TIAOli Link to comment Share on other sites More sharing options...
bucketbuster Posted January 20, 2005 Share Posted January 20, 2005 HiOK, having done 23 installs so far, the "cleanup" batch file always kills itself just before it finishes. Here is my code:ECHO.ECHO Removing Program Installation DirectoriesECHO Please wait...rmdir %systemdrive%\Install /S/Q--------------------------ECHO.ECHO Removing Temporary Driver Installation DirectoriesECHO Please wait...rmdir %systemdrive%\Drivers /S/Q It always kills itself where i have put the -------Anyone ideas?TIAOliPut ECHO in front of the ---------------------------- and it should work. Link to comment Share on other sites More sharing options...
owoods Posted January 20, 2005 Author Share Posted January 20, 2005 The ----------------- doesnt exist in the actual file - put it there as an indicator of where the file was breaking.Any ideas?TIAOli Link to comment Share on other sites More sharing options...
Yzöwl Posted January 20, 2005 Share Posted January 20, 2005 You are deleting the folder with the batch in, before it has finished running.Switch them around and make sure that the last command is the one deleting the folder in which your running batch resides. Link to comment Share on other sites More sharing options...
owoods Posted January 20, 2005 Author Share Posted January 20, 2005 @ Yzowl You make me feel so stupid! Thanks! Link to comment Share on other sites More sharing options...
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