
Do scripts work from telnet windows?
I have a script to automatically shutdown the system. The script works
fine when I double click the vbs file on the desktop, but if I try to run
the script through a telnet window (running the telnet server locally)
nothing happens. Any ideas?
Here is the script:
set shell=wscript.createobject("shell.application")
shell.shutDownWindows
set wshshell=wscript.createobject("wscript.shell")
wshshell.sendkeys "%S{up}{up}{up}{up}{down}{enter}"