I have tried reading the DOS screen (Start -> Run -> cmd)outputs using win_get_text function, but the same results in the computer being hung (Memory out situations).
Is there an efficient way for the same?
I'm not quite sure about reading cmd window outputs using win_get_text, but as a work around you could redirect the output to a file. This is easily done by using the ">" symbol at the end of your command, followed by the file name.
This will output the directory list to a text file called dirlist.txt. You could then open up the file in WinRunner and read the contents.
I have been able to read directory listing from the command window. But the application (real old application [img]/images/graemlins/smile.gif[/img] writes results on the DOS screen.
Has any one encountered an efficient way of reading the contents from the DOS screen?
win_get_text will work on a command window. There's something wrong with your text recognition in general. The win_get_text / system hang issue is well known - there should be a patch available on the support website.