@WINEXENAME[title]: Returns the executable name for the first window matching title (which can include wildcards), or an empty string if none.
If the title argument begins with a =, it is assumed to be a PID instead of a window title.
Example:
echo %@winexename[tc 28*]
C:\Program Files\JPSoft\TCMD28\tcmd.exe