Does anyone know how to send commands to a exe file that is an old dos exe file?
I have a program that I use for drainage calculations ktdid.exe. It is an old dos run exe file that is time consuming!!! I would like to use VB to open the file and then send commands to it to run it with the input I have already created. I know that I can use a shell command and I have no problem opening the program, but I can't get the program to recognize sendkeys, sendinput, keybd_event or anything. I am using Microsoft Windows 2000. Does anyone know of any limitations to sending commands to dos exe's? I am desparately in search of anyone that can figure out how to automate this program for me.
Below is a link to a Kentucky state highway download for ktdid. Ktdid.exe is the file that opens the whole program. If someone can get the program to open and then send a command to get the program to select menu 7 or something I would love to see the code. If anyone is up to the challenge or knows some great advice I would appreciate it. Also attached is the code I have been trying to use to get the file to open and run.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.