For example I have a running process seen in windows task manager (.exe). I'd like to see the parameters that's been passed to the process when it was started. I do not start this proces, nor I have any control or an easy way of debugging the spot it's getting started. Any suggestions ?

link|improve this question
feedback

migrated from stackoverflow.com Aug 23 '10 at 2:03

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 2 down vote accepted

See if this works for you: http://windowsxp.mvps.org/listproc.htm

Type the command given below exactly:

WMIC /OUTPUT:C:\ProcessList.txt PROCESS get Caption,Commandline,Processid

or

WMIC /OUTPUT:C:\ProcessList.txt path win32_process get Caption,Processid,Commandline

Now, open the file C:\ProcessList.txt. You can see the details of all the processes in that file.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.