MAKEMSI quickly and reliably creates MSI files in a non-programmatic way
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
[Bottom][Contents][Prev]: PsSuspend.EXE[Next]: FileMon.exe
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Tips and Tricks->Tools->PV.EXE

PV.EXE

Useful as a command line process killer. Can also list tasks.

This is a freeware tool which is available as part of the "PrcViewThis external link was OK when tested at 28 Aug 2008

HTML page dated Sun, 13 Aug 2006 05:45:06 GMT" download.

PV.EXE /?


PrcView v 3.7.4.1 command line utility by Igor Nys
Usage: pv -[<MODE>] -[<OPTIONS>] <ARGUMENTS>...-[<OPTIONS>]
Modes:
  -a       --activate  activate PROCESS, brings it in the foreground
  -c       --close     close (send WM_CLOSE) to the PROCESS
  -g       --getenv    get startup environment for the  PROCESS
  -h,-?    --help      display this help information
  -k       --kill      kill PROCESS
  -m       --module    show modules used by specified PROCESS
  -p[nihr] --priority  set priority to "Normal", "Idle", "High", "Real Time"
    [ba]               "Below Normal" and "Above Normal" only on W2K or higher
  -s       --summary   show MODULE usage summary
  -t       --tree      display process tree, -te for computer-readable format
  -u       --usage     show processes that uses specified MODULE
  -x       --exit      wait for the process completion (exit), -d sets time-out

Options:
  -d[time] --delay     delay time in milliseconds before executing command
  -e,      --extend    show additional information if available
  -f,      --force     never prompt
  -i,      --id        use process ID instead of the PROCESS name
  -l[mask] --long      include process command line matching mask
  -n       --number    return code contains negative number of matched processes
  -q,      --quiet     supress headers and produce a tab-separated list
  -r[err]  --repeat    repeat command in a cycle, err coresponds to an errorlevel
  -w[mask] --window    show processes with visible windows matching mask,
                       -e includes in search also invisible windows

Arguments can contain '*' and '?' wildcards.

Use return code (%ERRORLEVEL%) in batch files:
    0 - process found, or reflects number of process if -n is specified
    1 - empty result set, 2 - programm error

Examples:
  pv myprocess.exe        get process ID for myprocess.exe.
  pv -e                   get extended list of running processes.
  pv -k sleep*            kill all processes starting with "sleep"
  pv -m -e explorer.exe   get extended information about explorer's modules
  pv -u oleaut*.dll       list of all processes that use matching dll
  pv -ph w*.exe           set priority to hight for all matching processes
  pv explorer.exe -l"*/S" looks for explorer process with /S switch


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 9 Sep 2008Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: PsSuspend.EXE[Next]: FileMon.exe


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Saturday September 13 2008 at 2:32pm
Visit MAKEMSI's Home PageThis external link was OK when tested at 28 Aug 2008

HTML page dated Mon, 29 Jan 2007 00:11:11 GMT
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 9 Sep 2008