Results 1 to 2 of 2

Thread: Redirecting Output

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2001
    Posts
    25

    Redirecting Output

    When I use this command with or without the zero at the end, my output does not write to the output file. If I leave the zero off, I can see the out put be written to the dos window.

    Shell App.Path & "\BIMPORT.EXE /sentsqlt3a /phorizon /usaduke /dhorizon /ldnl /mdom /hheader.txt /ihr.txt /fs41 /ksecond_id /zn >c:\Horizon\TEST.txt", 0

    If I put these same switches in a .bat file and double click it, the writing the output to a file works fine. How do I do this in VB?
    What do I need to add?

    Please Help!!!

  2. #2
    Frenzied Member numtel's Avatar
    Join Date
    Apr 2000
    Location
    CA
    Posts
    1,163
    If you have the 0 there it will hide the application, what you want is 1 so it still loads it.

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