JSI Tip 9300. Processinfo.exe freeware displays the Image, PID, and FQFN, without truncating.


Download the ftp://minns.dynu.com/downloads/processinfo.zip freeware.

NOTE: If the site is not reachable, download the zipped executable (no source) here.

When you open a CMD.EXE window and type processinfo, you receive:

Image                    PID    FQP
smss                        580 \SystemRoot\System32\smss.exe
winlogon                    660 \??\C:\WINDOWS\system32\winlogon.exe
services                    708 C:\WINDOWS\system32\services.exe
. . .
CMD                         600 C:\WINDOWS\SYSTEM32\CMD.EXE
ProcessInfo                4024 C:\UTIL\ProcessInfo.exe
NOTE: Notice that not all paths are 'normalized'.

If you wanted to process this information in a script, you could use ProcessInfoBAT.bat, which contains:

@echo off
setlocal enabledelayedexpansion
for /f "Skip=1 Tokens=1-2*" %%a in ('processinfo') do (
 set image=%%a
 set PID=%%b
 set FQFN=%%c
 if /i  "!FQFN:~0,12!" EQU "\SystemRoot\" set FQFN=%SystemRoot%\!FQFN:~12!
 if /i  "!FQFN:~0,4!" EQU "\??\" set FQFN=!FQFN:~4!
 @echo !image! !PID! "!FQFN!"
The output would look like:
smss 580 "C:\Windows\System32\smss.exe"
winlogon 660 "C:\WINDOWS\system32\winlogon.exe"
services 708 "C:\WINDOWS\system32\services.exe"
. . .
ProcessInfo 4024 "C:\UTIL\ProcessInfo.exe"

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.