0
我正在查找一個VBScript,當用戶點擊它時,它將檢查並查看用戶是否正在運行進程winver.exe
。如果進程winver.exe
正在該用戶下運行,它將結束進程,如果進程winver.exe
未運行,它將繼續執行下面的腳本。殺死進程,啓動進程
Dim objShell
Set objShell = WScript.CreateObject("WScript.Shell")
const iHideWindow = 0
objShell.Run """C:\Program Files (x86)\Citrix\ICA Client\wfcrun32.exe"" ""C:\APP.ica"""
Set oShell = CreateObject("WScript.Shell")
oShell.Run "winver", 0