![]() |
| | #1 (permalink) |
| I am looking to write a bat file to install some software and move some files for me onto a laptop. The question I have, is there a way to have the script / bat file 1) reboot you system 2) automatically log back on and 3) continue running the script from where it left off at. Any help would be appreciated. | Guest
Posts: n/a
|
|
| | #2 (permalink) | |
| to restart computer use "shutdown -r" for other options use "shutdown /?" on command line. for the batch file create a shortcut with input parameters like "batfile.bat restart1" and copy it to "start menu" start up folder another way is adding a line to runonce registry key of current user that needs a registry file. in your batch file read input parameters using %%1 that returns first parameter and so on. put an IF command that reads %%1 and if it exists the by using its value go to next step of your install "James" wrote: Quote:
| Guest
Posts: n/a
| |
|
![]() |
| Tags |
| None |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Automated install | JBZ | Windows Vista Install & Setup | 0 | 07-10-2006 09:32 AM |
| Automated logon | Rich | Customize Windows XP | 3 | 12-16-2003 05:44 PM |
| Automated System Recovery | Jim Bender | Windows XP Setup | 2 | 10-01-2003 08:53 PM |
| Dial Up Networking automated | toeknee | Windows XP Network & Web | 0 | 08-14-2003 01:53 AM |
| Automated install | Robert | Windows XP Setup | 2 | 07-16-2003 09:39 AM |