If the machine is an NT box then you could get the script to write an entry
into HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce, to call itself
with a command argument of say 'myscript -stage2'.

Darin

--------------------------------------------
Darin Cruickshanks
Labs Manager, Computing Service
University of Essex
[EMAIL PROTECTED]
01206 873585


-----Original Message-----
From: savinder [mailto:[EMAIL PROTECTED]] 
Sent: 22 April 2002 11:23
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Handling re-starts in perl...




Hi All,

I'm creating a perl script to automate a certain installation process.
The machine needs to be re-booted midway... (after completion of a certain
part).

The problem is, how do i resume the execution of my script after the re-boot
??
i need to do some more stuff after the re-boot, but i'm unable to think of a
way to handle the re-starts.

can i set a flag some-where, which can be probed by the script and the then
decide it's path of execution ??

hope i'm not too vague in putting up the query.


cheers,
savinder.

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to