In Windows 7, is it possible to obtain a list of all open desktop windows from the command line? I know that it's possible to obtain a list of all running processes from the command line, but I want to know if it's possible to obtain a list of open windows as well.
The Task view feature is similar to Flip, but it works a bit differently. To open Task view, click the Task view button near the bottom-left corner of the taskbar. Alternative, you can press Windows key+Tab on your keyboard. All of your open windows will appear, and you can click to choose any window you want.
Type dir /A:D. /B > FolderList. txt and press Enter to generate a top-level folder list. When the list is complete, a new, blank prompt with a flashing cursor will appear.
Tasklist is a tool that displays a list of the processes that are running on either a local or remote machine.
The "/v" option lists the window names in the last column. As in "tasklist /v". You can also pipe it into another application or find to do filtering.
Use
tasklist /fi "windowtitle eq <Title of window*>"
For example:
tasklist /fi "windowtitle eq Notepad*"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With