Win98 SE reboots fine with the following:
Dim WshShell
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run ("C:\WINDOWS\RUNDLL32.EXE shell32.dll,SHExitWindowsEx 2")
--
Regards,
Doug Knox, Microsoft MVPDTS
No support provided by e-mail! Reply to the newsgroups only!
* Help us help YOU - http://members.home.com/dts-l/goodpost.htm
--
The Microsoft MVP Program does not constitute employment or contractual
obligation with Microsoft Corporation. We do this for fun! :)
--
Visit my web site for Win95/98 Tweaks, Tips and Utilities
http://members.xoom.com/dbknox/registry/index.htm
Quote:
> Looking for the easiest way to reboot NT and win 98 machines in WSH. Any
> help would be appreciated
> Billy