Join GitHub today
Selecting a Window Based on Image #5
You can filter Cmdow's output with FINDSTR and a regular expression:-
for /f %%a in ('cmdow /b ^| findstr "explorer.*CRAZY WINDOW NAME"') do ( cmdow %%a /act )
Note the pipe character (|) has been 'escaped' using a carat (^). Adjust the options in the second use of Cmdow to suit your requirements.