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.


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.

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

  • 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. – kiri 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

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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