Under DOS, how can I make my self-written 1.exe run automatically after receiving the character 1 sent over the serial port?
What if there are also 2.exe and 3.exe? If I use TC to write a serial port program, that would be another EXE file too, right???
What I want is to use the host machine's serial port to control the lower machine. After the lower machine receives a character, it executes the corresponding self-written executable file. After booting up, the lower machine should not need any manual control and should stay at the DOS prompt. The serial port program would basically have to do the equivalent of typing 1.exe and pressing Enter at the DOS prompt, but then this serial port program is itself an independent program. If I use a batch file to go to this serial port program COM.EXE, would that work? Could some expert try writing a program???