Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows XP > Windows XP Configuration & Management

Notices

Reply

automated script

 

LinkBack Thread Tools Display Modes
Old 05-07-2008, 08:27 PM   #1 (permalink)
Default automated script

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.


James
Guest
 
Posts: n/a
Reply With Quote  
Old 05-15-2008, 02:13 AM   #2 (permalink)
Default RE: automated script

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:
> 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.
>
>
>
Bob
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

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


All times are GMT. The time now is 09:40 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90