Batch script: Automatic Shutting down Server
D3Shutdown.bat
============
TST10 /R:D3ShutdownTelnetScript.txt /o:c:\temp\D3ShutdownLog.txt
D3ShutdownTelnetScript.txt
====================
LOCALHOST
WAIT "Logon:"
SEND "D3.SHUTDOWN\m"
WAIT "password:"
SEND "XXXXXX\m" <<<<<<=======Add your D3.SHUTDOWN user password here
WAIT "qiescent"
D3.SHUTDOWN Users Item
====================
D3.SHUTDOWN
001 d3.shutdown
002
003
004
005
006
007 99ACB49D
008 sys2
009
010
011
012 term-type
013 sp-assign
014 brk-level
015 esc-data
016 set-sym gsym
017 speller-off
018 logto d3.shutdown
D3.SHUTDOWN Account MD Entry
==========================
D3.SHUTDOWN
001 PQ
002 C D3 Shutdown PROC
003 C
004 HMAXUSERS (S
005 P
006 HMSG * System Shutdown in 30 seconds. Please log off NOW!
007 P
008 HSLEEP 30
009 P
010 HSHUTDOWN (Y
011 P
012 X