Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

i want know the command line from another process with windows 2000

Status
Not open for further replies.

gvrgvr

Programmer
Oct 26, 2005
17
FR
i want know the command line with the parameters from another process with windows 2000

with windows xp i use:

requete = "Select * From Win32_Process WHERE CommandLine = 'example.exe param1 param2'"
Set colProcesses = objWMIService.ExecQuery(requete)

but we can't with windows 2000

how can i do

thanks
 
This would be ugly, but you could try to capture and parse the output from tlist.exe (from the 2000 utilities)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top