How to restart a script after rebooting?

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
chihuahualand
Junior Coder
Posts: 35
Joined: Thu Jan 12, 2006 9:20 pm
Contact:

How to restart a script after rebooting?

Post by chihuahualand » Sat Feb 11, 2006 1:08 am

How to restart a script after rebooting?

For instance,
run symantec liveupdate... reboot... run liveupdate again... reboot... etc... until there are no more updates.

thanks

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Sat Feb 11, 2006 8:58 am

Have the script copy a shortcut to itself to the startup folder? Use the CopyFile command. At the end of the process have it remove the shortcut from the startup folder. Or add an entry to the registry Run key.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts