August 11, 200422 yr 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
August 11, 200422 yr Sorry id did not read carfully what the question was.Ok do you have shtdown exe in your path?
August 11, 200422 yr Author 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!!!
August 11, 200422 yr 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.
August 11, 200422 yr 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
August 12, 200422 yr Author 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"
Create an account or sign in to comment