Task List.
Show the command, command line, working directory, memory usage and DLLs for each running task. This command is no longer supplied with recent versions of the Windows resource kit, having been replaced by TASKLIST, however if you can find a copy Tlist does have the advantage of showing the full path of the process.
Syntax TLIST TLIST -t TLIST pid TLIST -t pid TLIST patternTLIST -t pattern Key -t : Show Task dependencies in Tree form pid : List module information for this task if no PID is given - all Tasks are listed pattern : A complete task name or expression pattern (e.g. CMD.*) if a pattern is given it will match against task names or window titles.
Example:
The following 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"
"When I first started running, I was so embarrassed, I'd walk when cars passed me. I'd pretend I was looking at the flowers" ~ Joan Benoit Samuelson, 1984 Olympic Marathon gold medalist
Related:
PsList - List detailed information about processes.
TASKLIST - List running applications and services.
MSINFO32 - Windows diagnostics.
Powershell: Get-Process - Get a list of processes on a machine (ps/gps).
Equivalent bash command (Linux): ps - Process status, information about processes running in memory.