Shows the command, command-line, working directory, memory usage and DLLs for each running task.
TLIST [-t] [[pid] | [pattern [...]]]
PSTAT - display running tasks including all Process Threads.
MEM - Display memory usage.
WINMSD - Windows NT Diagnostics (including Physical Memory).
Equivalent Linux BASH commands:
time - Measure Program Resource Use.
times - User and system times.
This batch file will show the full path of all running programs:
@ECHO OFF FOR /F "TOKENS=1" %%G IN ('tlist') DO (CALL %s_item %%G) GOTO :eof :s_item tlist %1 | FIND "CmdLine"