Script to activate win 95 Shutdown 
Author Message
 Script to activate win 95 Shutdown

Dear All,

I am new to this scripting language and need some help, this is my problem.

I have 5 windows95 (OSR1) machines running KEA terminal emulator and a
M/Soft Access Runtime, the machines run an automated process all day on
there own. at the end of the day i have a timer that switches the machines
off this is causing me problems, and i would like a script that would close
down the access runtime and KEA screens at a certain time specified and then
shut down windows leaving the machine at the 'Its now safe to switch off
your computer' Screen!!

Any Ideas???

Regards
Mark Anderson



Tue, 08 May 2001 03:00:00 GMT  
 Script to activate win 95 Shutdown

If IE4 is installed you can do the following...
set objshell = wscript.CreateObject("Shell.Application")
objshell.ShutdownWindows

This will bring up the shutdown menu.
You could then use sendkeys to press OK.

Regards,
Ian
WSH FAQ http://wsh.glazier.co.nz



Wed, 09 May 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Shutdown and Restart Windows 95 and NT for VB Script

2. Script to activate win95 shutdown

3. Can't Create Object WScript.Shell in Win 98 (1st Ed) and Win 95

4. Best Post Script Color Driver in Win 95?

5. Why do I get error when trying to install Script 5.1 on a win 95 operating

6. Setting Win 95 Environment via script ???

7. Script to change WINS on 95/98/nt/2000

8. Shutdown Windows 95

9. Win 95 - How to run

10. Reading Win 95 Computer Name

 

 
Powered by phpBB® Forum Software