EnumWin


Description
Program listing and testing of open windows titles.

Usage
enumwin.exe ["window name"] [/s]
  - Without parameters, returns a list of open windows in the current session.
  - With the "window name" followed by the name refers "****" found.
  - With the parameters "window name" /s : silent mode.
Returns %errorlevel% = 1 if the name is found, otherwise 0.

Examples
enumwin.exe
enumwin.exe google
enumwin.exe yahoo
enumwin.exe "Untitled - Notepad" /s

Screen capture
EnumWin

Download
EnumWin.exe v1.1 (2.5 KB)

Sources :
EnumWin.c (3.0 KB) - (View in HTML)

Changelog
1.1 - 2011-08-23
  * add the PID and of the path of the window
1.0 - 2011-03-08
  * initial version with option '-s'

License
CC0 CC0 1.0 Universal (CC0 1.0)
Public Domain Dedication