Results 1 to 3 of 3

Thread: Getting text of dos command screen

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 1999
    Location
    Singapore
    Posts
    116
    I want to run a dos application, how can i get the text of the dos app?

    CAn anyone show me the code of running the ms-dos app to getting the text of that console windows...

  2. #2
    Junior Member
    Join Date
    Feb 2000
    Posts
    27
    You can pipe the data to a text file then read it back, thats how i do it at least. When you shell the dos command add a " > C:\whatever.txt" and anything that is outputed by the command will be piped to that file. Once the command has completed you can just open the text file and read it back into a textbox or whatever else you want.

  3. #3
    Addicted Member
    Join Date
    Aug 1999
    Location
    Ottawa,ON,Canada
    Posts
    217
    Search this site, I think I remember seeing a really good tutorial on using API to get the most out of the DOS Shell.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width