Hello All,

I'm hoping this will be a simple one,
Tasklist! how do I sort by image name?

Many thanks in adanvces:)

In the GUI, click on that column. If you are running it from the command line then

tasklist /nh | sort

Hi Jim, the cmd line is exactly what I was after, thank you.

second Question.
What would be the diffrent cmds for sorting by other columns such as PID or mem useage.

Thanks

In that case you add a switch to sort to specify the starting column number as in

tasklist /nh | sort /+30

Fantastic! Thanks for your help.

Awesome, just what I was looking for, thanks for posting

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.