Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 ?

share|improve this question

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

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

1 Answer 1

up vote 3 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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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