timvdhoorn
Banned
- Local time
- 6:13 PM
- Messages
- 28
Hi,
I got an VBS script to shutdown pc in network remote..
And i want that the script asks how long to wait untill the pc shutsdown..(120 in the script)
PLEASE HELP!
[sorry if its in the wrong section..and sorry for bad english
]
I got an VBS script to shutdown pc in network remote..
PHP:
Option Explicit
Dim objShell, strComputer, strInput
Dim strShutdown
Do
strComputer = (InputBox("Computer name", "Computer Name"))
If strComputer <> "" Then
strInput = True
End if
Loop until strInput = True
strShutdown = "shutdown -s -t 120 -f -m \\" & strComputer
set objShell = CreateObject("WScript.Shell")
objShell.run strShutdown
Wscript.Quit
And i want that the script asks how long to wait untill the pc shutsdown..(120 in the script)
PLEASE HELP!

[sorry if its in the wrong section..and sorry for bad english
My Computer
- OS
- window 7 ultimate 32 bit
