for Process in ComObjGet winmgmts ExecQuery Select from Win32_Process

1
2
for Process in ComObjGet("winmgmts:").ExecQuery("Select * from Win32_Process where Name='javaw.exe'")
MsgBox % process.CommandLine