0
프로세스를 중지하고 시작하는 VBscript가 있습니다.VBscript "Yes/No"명령 줄 자동화 질문 :
명령 줄에 예/아니오 질문이 있습니다. "예"라고 대답해야합니다. 어떻게하면됩니까?
지금까지 내가 가진 :
Option Explicit
Dim wshShell
On Error Resume Next
Set wshShell = WScript.CreateObject("WSCript.shell")
If Err.Number <> 0 Then
Wscript.Quit
End If
wshShell.Run "cmd.exe /C cd C:\WINDOWS\system32 & process.exe STOP"
WScript.Sleep 15000
wshShell.Run "cmd.exe /C cd C:\WINDOWS\system32 & process.exe START"
On Error Goto 0