Windows – Display complete command line (including arguments) for Windows process

command-line-interfaceprocesswindows

I want to display a process's command line (including any arguments) from the command line itself. In other words, I want to show the "Command Line" column in the Task Manager but from a command line. Is this possible?

For example, the output might look something like

C:\java\bin\java.exe -Dhttp.proxyHost=http://localproxy -Dport=8331

Best Answer

You can use Microsoft's official Process Explorer. It can do exactly this and has many many more useful features.