试试看下面的代码
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colProcesses = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = 'VCM_exe.exe'")
If colProcesses.Count = 0 Then
Wscript.Echo "VCM_exe.exe is not running."
Else
Wscript.Echo "VCM_exe.exe is running."
End If