Do scripts work from telnet windows? 
Author Message
 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}"



Sat, 10 Jan 2004 23:57:56 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Script works, script don't work

2. IE window close after script is done

3. Run Time Scripting Doesn't Work as Windows Service

4. Run Time Scripting Doesn't Work as Windows Service

5. ExtCreatePen does not work in Windows 2000 but works in Windows 98

6. scripting a telnet session ?

7. Scripting Catalyst SocketTools Telnet?

8. telnet scripting control ?

9. Problems getting Telnet to work under winsock (VB)

10. Telnet using VB Script

11. Test terminal server / WLBS connectivity through Telnet/scripting?

12. Script a telnet session

 

 
Powered by phpBB® Forum Software