Done Priority additions

rps

Jul 6, 2008
426
5
PRIORITY - Add the ability to enter PRIORITY [PID].... or PRIORITY [System Process] to receive just info for the PID's or system process entered on the cmd line.
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,223
78
Albuquerque, NM
prospero.unm.edu
I think the system process always has a "PID" of zero. So if PRIORITY supported the =pid syntax, you could use =0 to pick up the system process:

Code:
C:\>priority "take command*"
   1528  Normal    chrome            Take Command - Google Chrome

C:\>priority =1528
   1528  Normal    chrome            Take Command - Google Chrome

C:\>priority =0
      0  Unknown   [System Process]

C:\>
 
May 20, 2008
10,634
82
Syracuse, NY, USA
I think the system process always has a "PID" of zero. So if PRIORITY supported the =pid syntax, you could use =0 to pick up the system process:
You can already get priority by PID and (no surprise) it fails for PIDs 0 and 4.
Code:
v:\> echo %@priority[0]
0

v:\> echo %@priority[4]
0
 
Thread starter Similar threads Forum Replies Date
rps Suggestions 2
rps Suggestions 0