Answers for "dos command to print commandline of running pid"

0

dos command to print commandline of running pid

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

One very useful note, after starting Process Explorer for the first time, 
right-click the table header ("Process" | "CPU" | "Private Bytes" | etc.) and 
add the "Command Line" column for the info you want to see. Very, very helpful tool, 
allows you to see what scripts IT is running on your machine... 

Wmic.exe will show you what you are looking for:

wmic path win32_process get name,commandline > commandline.txt
Java looks like:

"C:\Program Files\Java\jre6\bin\jqs.exe" -service -config "C:\Program Files\Java\jre6\lib\deploy\jqs\jqs.conf"
Posted by: Guest on May-27-2021

Code answers related to "dos command to print commandline of running pid"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language