0

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.

kiri
  • 967
  • 3
  • 9
  • 20
  • Does this answer your question? [Get the complete command line of a process](https://superuser.com/questions/403423/get-the-complete-command-line-of-a-process) – Gerold Broser Sep 12 '21 at 12:46

2 Answers2

3

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.
kiri
  • 967
  • 3
  • 9
  • 20
1

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

Canadian Luke
  • 24,199
  • 39
  • 117
  • 171