utpalmtbi has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks..

I have a script.exe prgram that works on many files in a directory and save the output of each file in a different directory. This program shows a minor error message in screen (due to lack of a supporting file, and which cant be fixed) after each file processing.. To remove the error and start the process again I have to press (Tab+Enter) and then (Ctrl+R) + means I have to press those keys simultaneously.. but as I have thousands of input files, I suppose to do it for that many times..

I am wondering if there is any way to put those keys in whenever the program shows the error message ...

Thanks

Replies are listed 'Best First'.
Re: reinitiating a exe program
by marto (Cardinal) on Jun 21, 2013 at 13:41 UTC
Re: reinitiating a exe program
by zork42 (Monk) on Jun 21, 2013 at 15:51 UTC
    What platform are you using?

    Is it a command line script? (Or does it have a command line mode?) = many solutions available, like pipes, etc
    or does it have a GUI?

    If Windows + GUI then: what marto said :)
      @zork42 .. I am using a windows 7 machine and the exe script can be run through command line