Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .