Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have a legacy DOS app (actually it is the COMPLY.EXE effluent release program found on the EPA website) which asks for user input to a bunch of questions then calculates and outputs to a file. Since this program won't allow you to Ctrl-Brk out it is a major pain to rerun if you make an entry error and have to reenter ALL inputs again.
I would like to store all the user answers in a file and use some sort of input redirection to feed it the stream of data.
I have tried various input redirect methods in both DOS and in DOSEMU (using freedos) without positive results.
type mydata.dat > comply starts COMPLY.EXE
type mydata.dat | comply starts COMPLY.EXE which immediately dies
error in line 64 error number 3023
I could possibly use a second machine and ssh into the first one somehow and feed the values . I remember in the old days one could use a communications program (I think it was called Crosstalk) to run a script on a second machine).
Any help would be appreciated. Maybe I am trying to do redirection improperly.