Laura Moloney
Dec 5th, 2000, 08:54 AM
I have VB 6 and am executing a .bat file via a console window opened up by EXECCMD. The .bat file runs an awk script. I would like to be able to interpret the system response in the console window based on the results of running that .bat file. For example if the system displays the message 'xxx file not found' I would like to be able to trap that. Unfortunately I have not found a way that awk can generate a log file so I have to rely on the console window response to verify the .bat file ran successfully. I believe that the GetConsoleScreenBufferInfo is one route to take, however I have been unable to make it work. Any help is MUCH appreciated!