Hey everyone,

I want to get the value of the "command line" option in the task manager for a particular process. To do it manually, I add the column "command line" by View-> Add column -> Command line in the task manager GUI and get the value for a process X.



But how do I do it through command line. "tasklist -v" will give the value of all the columns for all the processes. So, if i can add the column "command line" somehow, I can use the above command, get the output in a file and get it.

So, the question is, how to add the column "command line" in the task manager through command line? Or is there any other way by which I can directly get the value of the "command line" option for a process X through command line.