TLIST – Windows CMD Command

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 pattern
      TLIST -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"

You may also like...

1 Response

  1. Fred says:

    AAAA+++++++

Leave a Reply

Your email address will not be published. Required fields are marked *