Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way to get list of open processes into the fi
Message
Information générale
Forum:
Windows
Catégorie:
Dépannage
Divers
Thread ID:
01320331
Message ID:
01320353
Vues:
15
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform