Please ignore this thread, I've solved it.
I have an old program which runs from the command line and accepts its input and output there (2 single characters and 2 filenames). As far as i know it doesn't accept any of these as parameters when its called and i need to run it with lots of different files.
I can redirect a text file to the program using: programname.exe < input.txt and have been trying to use the carriage return to force the program to accept one piece of information from the file at once using \n
Is this possible or am i going down a dead end?
Thanks.