Cmdow is a Win32 commandline utility for NT4/2000/XP/2003 that allows windows to be listed, moved, resized, renamed, hidden/unhidden, disabled/enabled, minimized, maximized, restored, activated/inactivated, closed, killed and more.
Worked well in some batch files for my old Windows versions. But: 1 - One program is escaping cmdow capabilities: the R language interpreter (Rgui). Instead of working on the program window, it works on some window component. 2 - Two of the download sites are down.