Here is the file attached...

Rename to *.vbs

2009/9/7 Odhiambo Washington <odhiambo@gmail.com>


On Mon, Sep 7, 2009 at 11:43 AM, Simon Mbuthia <simon.mbuthia@gmail.com> wrote:
Create a Reboot.vbs and paste the following in it..

'Code begin
Dim o
Set o = createObject("WScript.Shell")

WScript.sleep 5400000 'Script is inactive for 90 minutes
'then displays a warning for 30 seconds prompting user to save his/her work before restarting
o.Run "shutdown -f -r -t 30 -c 'Windows is rebooting. Save all your work within the time indicated.'"

'Code end

Copy the script it to your startup folder or add it's path to a string value in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run



Hi Simon,

This looks promising, but I am lost. Looks like line wraps on my gmail interface is getting me confused with the lines..


I need to try this because creating a .bat file did not work when I tried to import. The Vista scheduler expects an XML file format.


--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"If you have nothing good to say about someone, just shut up!."
              -- Lucky Dube

_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
Other services @ http://my.co.ke
Other lists
-------------
Announce: http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks-announce
Science:  http://lists.my.co.ke/cgi-bin/mailman/listinfo/science
kazi:     http://lists.my.co.ke/cgi-bin/mailman/admin/kazi/general



--
שִׁמְעוֹן