Subj : Re: Borland C++5.02 with Microsoft C++ code To : borland.public.cpp.borlandcpp From : "Ed Mulroy [TeamB]" Date : Mon Mar 29 2004 03:06 pm > I used to execute it with > filename( .exe file) -i inputfilename -o outputfilename Most programs that use files for input and output accept the file names and open the files themselves. If instead you are trying to use a text file as if it were information typed in from the keyboard and capture the console output instead of it going to the screen then perhaps you were looking for redirection. If that is what you wanted I do not remember any standard of using -i and -o for that. Try it this way. filename outputfilename .. Ed > Steve D wrote in message > news:40687657$1@newsgroups.borland.com... > > Hello Ed (et al), > Thank you very much for the quick response. Finally I got my > program to run! > Another problme I'm facing is to execute the program, when > it requires input and output files. I used to execute it with > filename( .exe file) -i inputfilename -o outputfilename. This > worked for me in the past on unix workstations, with C++ > 10+ years ago. I can't seem to find it in the manual of C++. > Any help is highly appreciated. .