Interact with cmd.exe

WG1

Member
Joined
Mar 12, 2010
Messages
8
Programming Experience
Beginner
Have a Windows app that needs to interact with a stand alone program that is accessed using cmd.exe. From Windows app, I can execute cmd.exe but cannot interact with it. Tried SendKeys, but this only sends one key at a time (sometimes more, but inconsistent) with multiple cmd.exe windows opening. Need to be able to send a whole command (string) to only one cmd.exe window. Please advise, thanks.
 
Last edited:
I think it's working now. Multiple windows and separate keys had something to do with string not in caps!?
 
Back
Top