Results 1 to 4 of 4

Thread: Text from a DOS-box

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 1999
    Location
    Ruinen, Drente, Netherlands
    Posts
    192

    Post

    How can I get the Text from a (shelled) DOS-box so I can manipulate this text in my VB program ?

    ------------------

  2. #2
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177

    Post

    When you Shell the DOS Program pass the output Swtich to Direct all Screen Output to a File, which you can then Open and Display in a Textbox, ie.

    Call Shell("C:\Shell.bat > C:\Output.txt", vbNormalFocus)


    ------------------
    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]


  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Apr 1999
    Location
    Ruinen, Drente, Netherlands
    Posts
    192

    Post

    Aaron, what means "&gt" in the line ?

  4. #4
    Addicted Member jcouture100's Avatar
    Join Date
    Aug 1999
    Posts
    141

    Post >

    The ">" is the Html equivalent of the Greater Than ">" symbol.

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