How do I etc send a command to a running application?
Say I have "cmd" open, how do I make a function from my application to send etc: "cd .." to the cmd console?

Or a running game. I've gotten it to work but not the way I wanted it. The way I managed to do it, it starts the .exe file that its suppose to send the command to, on new... so there's two running windows...

Anyone has tips or solution for this?