bmn Posted November 6, 2004 Posted November 6, 2004 this is my winnt.sif[GuiRunOnce]%systemdrive%\install\wpi\install.cmd%systemdrive%\install\cleanup.cmd%systemdrive%\Install\bootlogo.cmdand this is my clean up RD /S /Q %systemdrive%\Install exitbut cleanup starting before install and install.cmd giving file not found problem.and can we hide those black dos windows poping up(imean when they abt to run after installation).bmn
Bâshrat the Sneaky Posted November 6, 2004 Posted November 6, 2004 this is my winnt.sif[GuiRunOnce]%systemdrive%\install\wpi\install.cmd%systemdrive%\install\cleanup.cmd%systemdrive%\Install\bootlogo.cmdand this is my clean up RD /S /Q %systemdrive%\Install exitbut cleanup starting before install and install.cmd giving file not found problem.and can we hide those black dos windows poping up(imean when they abt to run after installation).bmnProbably you've forgotten to use the /WAIT switch after the START command: START /WAITand that would be why Install.cmd isn't finished when Cleanup.cmd starts.Note: Your folder names aren't identical About hiding DOS windows: google for CMDOW, or take a look at the guide, it's covered somewhere inthere.Use:CMDOW @ /HIDBâshrat the Sneaky
bmn Posted November 6, 2004 Author Posted November 6, 2004 thankswhere i have to place that cmdow code.in install.cmd or in winnt.sifthis is my install.cmdSTART /WAIT %systemdrive%\install\wpi\wpi.htaexitand if we place cleanup in the same dir,imean %systemdrive%\install\wpi\cleanup.cmdhow it can delete it self.
Bâshrat the Sneaky Posted November 6, 2004 Posted November 6, 2004 thankswhere i have to place that cmdow code.in install.cmd or in winnt.sifthis is my install.cmdSTART /WAIT %systemdrive%\install\wpi\wpi.htaexitand if we place cleanup in the same dir,imean %systemdrive%\install\wpi\cleanup.cmdhow it can delete it self.You should place the cmdow code at the top of your batch file.About deleting itself: I don't know... Try with removing the EXIT statement in the cleanup.cmd.Bâshrat the Sneaky
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