clair Posted August 11, 2004 Posted August 11, 2004 Unattended Installation on win 2000i made to batch files to install varios prog...but i need to install first ie6_sp1 restart pc and contioue whith batch file 2it will not restart after ie.cmdjust goes on whith file2.cmdbatch_file.txt
visaversa Posted August 11, 2004 Posted August 11, 2004 Sorry id did not read carfully what the question was.Ok do you have shtdown exe in your path?
clair Posted August 11, 2004 Author Posted August 11, 2004 Sorry id did not read carfully what the question was.Ok do you have shtdown exe in your path?yes if you look on batch.file that is atached on....i wont win2000 to restart after batch file 1 and contioue whith batchfile 2 after restart!!!
ps7 Posted August 11, 2004 Posted August 11, 2004 hi clare,The [GuiRunOnce] will excute both Commands before rebooting. Note that Command2 will NOT be excuted if your system reboots.One of the ways to run bm.cmd is to copy the file to your startup which is located in your start menu. For example, you can add this after your Installing IE6sp1 commandECHO.ECHO Copying bm.cmd to Startupcopy "C:\install\bm.cmd" "C:\Documents and Settings\USERNAME\Start Menu\Programs\Startup"USERNAME = Your Profile NameWhen the system reboots it will run the bm.cmd script.Add this at the end of your bm.cmd script:del "C:\Documents and Settings\USERNAME\Start Menu\Programs\Startup\bm.cmd"This would prevent bm.cmd script from running again.Don't forget to remove the Command2 line under your [GuiRunOnce].Hope this helps.
visaversa Posted August 11, 2004 Posted August 11, 2004 hi clare,The [GuiRunOnce] will excute both Commands before rebooting. Note that Command2 will NOT be excuted if your system reboots.One of the ways to run bm.cmd is to copy the file to your startup which is located in your start menu. For example, you can add this after your Installing IE6sp1 commandECHO.ECHO Copying bm.cmd to Startupcopy "C:\install\bm.cmd" "C:\Documents and Settings\USERNAME\Start Menu\Programs\Startup"USERNAME = Your Profile NameWhen the system reboots it will run the bm.cmd script.Add this at the end of your bm.cmd script:del "C:\Documents and Settings\USERNAME\Start Menu\Programs\Startup\bm.cmd"This would prevent bm.cmd script from running again.Don't forget to remove the Command2 line under your [GuiRunOnce].Hope this helps.Yes but the question was why the pc did not restarted after ie6_sp1 but i need to install first ie6_sp1 restart pc and contioue whith batch file 2it will not restart after ie.cmd
clair Posted August 12, 2004 Author Posted August 12, 2004 hi clare,The [GuiRunOnce] will excute both Commands before rebooting. Note that Command2 will NOT be excuted if your system reboots.One of the ways to run bm.cmd is to copy the file to your startup which is located in your start menu. For example, you can add this after your Installing IE6sp1 commandECHO.ECHO Copying bm.cmd to Startupcopy "C:\install\bm.cmd" "C:\Documents and Settings\USERNAME\Start Menu\Programs\Startup"USERNAME = Your Profile NameWhen the system reboots it will run the bm.cmd script.Add this at the end of your bm.cmd script:del "C:\Documents and Settings\USERNAME\Start Menu\Programs\Startup\bm.cmd"This would prevent bm.cmd script from running again.Don't forget to remove the Command2 line under your [GuiRunOnce].Hope this helps.Yes but the question was why the pc did not restarted after ie6_sp1 but i need to install first ie6_sp1 restart pc and contioue whith batch file 2it will not restart after ie.cmdnothing hapens when i ad the script ECHO Copying bm.cmd to Startupcopy "C:\install\bm.cmd" "C:\Documents and Settings\USERNAME\Start Menu\Programs\Startup"
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now