PC Review


Reply
Thread Tools Rate Thread

automated script

 
 
James
Guest
Posts: n/a
 
      7th May 2008
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.


 
Reply With Quote
 
 
 
 
Bob
Guest
Posts: n/a
 
      15th May 2008
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:

> 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.
>
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not 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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automated ScanState/LoadState script Dave Windows XP Setup 0 12th Aug 2009 02:56 PM
Automated script to backup IE favorites? =?Utf-8?B?QWRhbSBXZXN0?= Windows XP Internet Explorer 6 27th Mar 2006 10:49 PM
Automated Process--VB Script Macro =?Utf-8?B?ZXJpa19ncmVnb3J5?= Microsoft Word Document Management 3 6th Jan 2006 03:31 AM
automated script of defrag question Nathan H Microsoft Windows 2000 CMD Promt 4 16th Sep 2004 12:15 AM
script for automated deletion of IE history? Altria Windows XP Internet Explorer 2 18th Sep 2003 04:01 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:27 AM.