CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Guest

    get the output from DOS prompt

    Hi
    If the VB program launches an exe file (which is in DOS prompt), is there anyway it can get the output from the DOS prompt?
    Thanks for help.


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: get the output from DOS prompt

    you could launch a BAT or CMD File which starts your DOS program and redirect its output to a file (via '>' character) and read that file after the program has ended.


  3. #3
    Guest

    Re: get the output from DOS prompt

    Try using the output redirection ">" to direct out of dos exe to a file when you shell and read the file from VB


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

Featured