- Aug
- 2,320
- 111
I wanted a sorted list of all msedge.exe processes by PID.
To make it into a list...
To make it into a sorted list...
Ref: XSORT /type=4 XSORT - Pipe fitting to copy stdin and file(s) to stdout
Joe
Code:
E:\Utils>echo %@pid[msedge.exe,+]
14936 15036 15276 15284 14664 15452 15476 15528 16128 18500 17272 12228 2484 17068 17328 7024 21308 22500
To make it into a list...
Code:
E:\Utils>echo %@replace[ ,^n,%@pid[msedge.exe,+]]
14936
15036
15276
15284
14664
15452
15476
15528
16128
18500
17272
12228
2484
17068
17328
7024
21308
22500
To make it into a sorted list...
Code:
E:\Utils>echo %@replace[ ,^n,%@pid[msedge.exe,+]] | xsort /type=4
2484
7024
12228
14664
14936
15036
15276
15284
15452
15476
15528
16128
17068
17272
17328
18500
21308
22500
Ref: XSORT /type=4 XSORT - Pipe fitting to copy stdin and file(s) to stdout
Joe