Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way to get list of open processes into the fi
Message
General information
Forum:
Windows
Category:
Troubleshooting
Miscellaneous
Thread ID:
01320331
Message ID:
01320353
Views:
14
>>How about WMI?
>
>Good idea. Can you please give me a script file?
>
>Thanks.
loLocator			= CREATEOBJECT('WBEMScripting.SWBEMLocator')
loWMI				= loLocator.ConnectServer()
loProcesses			= loWMI.ExecQuery([SELECT * FROM Win32_Process])

For Each loProcess in loProcesses
	? loProcess.Caption, loProcess.Name, loProcess.ProcessID, Nvl(loProcess.ExecutablePath, '')
Next
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform