swirl
Home Software Blog Wallpapers Webtools
PE-Info

homeHome
Software listSoftware List

Delicious Bookmark this on Delicious

PE-Info

zip file Download file (148 KB) [Downloaded 3698 times]

Features

Print executable file information and dependencies on the console

  • Print Windows Portable Executable information on the console
  • The information includes names of dependent DLLs & delay loaded DLLs
  • Specify file pattern to print information about multiple files
  • Allows recursing into folders using the -s option
  • Works 32-bit and 64-bit platforms
  • Freeware

Screenshots

screenshot   screenshot


Usage help

The zip file contains 32-bit and 64-bit versions of PE-Info. Use can use either one. To use the 32-bit version of PE-Info, download and install the 32-bit version of VC++ runtime. To use the 64-bit version of PE-Info, download the 64-bit version of VC++ runtime.

To view instructions on how to use PE-Info, invoke the applications without any arguments from the Command Prompt. E.g.

c:\temp>peinfo

To view information about an EXE or DLL file specify the file as the first argument to the program:

c:\temp>peinfo c:\windows\notepad.exe

The output will be something like this:

c:\windows\notepad.exe is a valid PE file
Compatible with "x64"
File characteristics: Executable image, Large address [2GB+ aware]
Dependencies:
        ADVAPI32.dll
        KERNEL32.dll
        GDI32.dll
        USER32.dll
        msvcrt.dll
        api-ms-win-core-com-l1-1-1.dll

To print the same information for multiple files say all executable files in the folder c:\my-project, use peinfo c:\py-project\*.exe

To print information for all DLL files within a folder and also all subfolders within the folder c:\my-project, use peinfo c:\py-project\*.dll -s

You can also store the result as an XML file along with optional styling information. To store the result as XML use the -r option e.g.:
peinfo c:\temp\*.exe -s -r:xmlstyled

Pre-requisite software