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.

If I've got a program open, for example notepad this.txt, how can I get the full command line of this application including the arguments which was used to launch the program?

Ideally, I'd like a way which supports copying, as this command is quite long.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

I found this solution:

  1. Download Process Explorer from here: http://technet.microsoft.com/en-us/sysinternals/bb896653
  2. Run the procexp.exe file.
  3. Locate the name of the process you want the command line of.
  4. Right click → Properties
  5. The command line is then shown in the "Command line:" field.
share|improve this answer

Open task manager. Click Processes. Click view, select columns. Choose command line from the list

share|improve this answer
    
I was aware of this in my searching, however this doesn't seem to support copy/pasting. A problem if the command line is 1000+ chars. –  minerz029 Nov 1 '13 at 1:31
    
@minerz029 Ahhhh. Yea, that won't do it then –  Canadian Luke Nov 1 '13 at 15:37

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.