Pete- I've read through this a couple of times now trying to parse what you're trying to do. Here's my guess: you'd like to set up a text file of responses to prompts from the myProg program, which would be processed at the time myProg wants more input. If so, you should check out the "expect" command. -- -Mark Wieder mwieder at ahsoftware.net