I'm writing a script that gets the client name, creates a
folder of the client name on a server, then disable the
key and mouse and then I reboot the machine for the mouse
and keyboard to be disabled.

now what i want to do is allow the script to continue
from where it left off at.

how can i accomplish this task?

thanks for your help

thomas

Re: continue after reboot... by Robert

Robert
Wed Jul 30 15:38:40 CDT 2003

didn't just want to use AutoItX?

But you want to continue the same script with the variables from before you
logged off and on again. The only thing I can think of is to output the
variables to a text file and when you relog in to obtain the values from
that same text file.

I don't think you can just do, continue and have the script continue where
you left off.

Wouldn't AutoItX be easier. You wouldn't need to do a reboot at all.

--
--
Regardless of whether my signature is long or short, I still welcome
e-mails if you know my address but won't post it. But on the positive side,
I don't try and impress by quoting others.
--

"thomas" <thomas.gonzalez2@amedd.army.mil> wrote in message
news:04b601c356d9$1ece14a0$a301280a@phx.gbl...
> I'm writing a script that gets the client name, creates a
> folder of the client name on a server, then disable the
> key and mouse and then I reboot the machine for the mouse
> and keyboard to be disabled.
>
> now what i want to do is allow the script to continue
> from where it left off at.
>
> how can i accomplish this task?
>
> thanks for your help
>
> thomas



Re: continue after reboot... by Joe

Joe
Wed Jul 30 16:51:32 CDT 2003

Hi,

I addition to Robert's method, you might be able to have the primary file
just write the portion of the vbs file that you want to run after rebooting,
with the current values, as a temporary vbs file in the user's temporary
folder, write the file pathname into a value under the the "RunOnce"
registry key, and reboot. The secondary vbs script can delete its own vbs
file from the user temporary folder when it runs. (Sorry, I don't have a
script handy, but I have done this in the past as a purely local script.)

Joe Earnest

"thomas" <thomas.gonzalez2@amedd.army.mil> wrote in message
news:04b601c356d9$1ece14a0$a301280a@phx.gbl...
> I'm writing a script that gets the client name, creates a
> folder of the client name on a server, then disable the
> key and mouse and then I reboot the machine for the mouse
> and keyboard to be disabled.
>
> now what i want to do is allow the script to continue
> from where it left off at.
>
> how can i accomplish this task?
>
> thanks for your help
>
> thomas



Re: continue after reboot... by barabba72

barabba72
Fri Aug 01 12:26:28 CDT 2003

If you use the devon command you don't need a reboot. At least if I
understood right what you are trying to do.

For my infrastructure I wrote a script that disables cdrom, lpt ports,
usb ports, and so on based on the user group membership. It takes a
couple of seconds and requires no reboot. If you need some further
help write back.

"Joe Earnest" <joeearnest@qwest.net> wrote in message news:<eW2UQPuVDHA.2164@TK2MSFTNGP09.phx.gbl>...
> Hi,
>
> I addition to Robert's method, you might be able to have the primary file
> just write the portion of the vbs file that you want to run after rebooting,
> with the current values, as a temporary vbs file in the user's temporary
> folder, write the file pathname into a value under the the "RunOnce"
> registry key, and reboot. The secondary vbs script can delete its own vbs
> file from the user temporary folder when it runs. (Sorry, I don't have a
> script handy, but I have done this in the past as a purely local script.)
>
> Joe Earnest
>
> "thomas" <thomas.gonzalez2@amedd.army.mil> wrote in message
> news:04b601c356d9$1ece14a0$a301280a@phx.gbl...
> > I'm writing a script that gets the client name, creates a
> > folder of the client name on a server, then disable the
> > key and mouse and then I reboot the machine for the mouse
> > and keyboard to be disabled.
> >
> > now what i want to do is allow the script to continue
> > from where it left off at.
> >
> > how can i accomplish this task?
> >
> > thanks for your help
> >
> > thomas