How to retrive text from DOS window(screen)

hi,i want to copy some text from an already opened DOS like window//

I also wana check(compare) the written text in DOS window with mine, like i wana check wht is written in 2/5 cursor position in dos or a dos like window(screen),can u plz suggest some code.

i already got the code to reach that already opened window, just want code for retriving text from DOS>

thanks..

a friend

Its oK, thank u, what are ur specialities sir...

Hi

Almir's picture

My specialties are MS Office, but not limited to that.

My specialties are MS Office, but not limited to that. Windows, Process managment, HR etc.

Almir's picture

How to retrive text from DOS window(screen)

Send result of DOS command to .txt file, like: DOSCommand >>filename.txt. Then import .txt file to Excel. Could this solve your problem?

Thank you Almir,it can be sloved with the help of EHLLAPI

Do you have knowledge for EHLLAPI...

Regards
Ruth

Almir's picture

EHLLAPI

Hi Ruth, I am not familiar wiht EHLLAPI.