Jump to content

how to add columns to task manager through command line


Recommended Posts

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.

Link to comment
Share on other sites

I had to read your question about ten times before I understood what you are asking. Unfortunately I do not know the answer. Obviously TASKLIST does not do what you want; its parameters are very limited. I also do not know of any other existing program that could do that.

This is such an unusual request that most likely you will have to write that program yourself.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy