I would like to know how to properly pipe STDOUT and STDIN to a qbasic program running on DOS 6.22. I would like my qbasic program to be able to run EEUPDATE.exe through the following line "EEUPDATEW.exe /NIC=* /FILE=I211.txt /MAC=* /INVMUPDATE" and then reads in the STDOUT posted by EEUPDATE.exe for further processing. How would I go about doing this? I have been rattling my brain all day and I can't seem to get it to work.
Below if my simple program. Right now it can just grab the MAC address, later on I will increment the MAC address depending on what I receive from STDOUT.
Here is a sample of how to use SHELL in QBasic: