I need to write a batch file script that can execute a text command in another CMD window that is already running. The secondary CMD window must not close afterwards, and it can be referenced by a window Title. There are a few 'cmd.exe' processes running in the environment and it would be ideal to have some kind of method to execute the command to the specific window by its title.
How would I go about doing this?