Announcement

Collapse
No announcement yet.

How do I read the output of a command?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How do I read the output of a command?

    Hi Guys, what's the easiest way to read the output of a DOS command and do something based on that output?

    #2
    Use output routing (??) to send output to a file and then read that file.

    Something like: dir c:\ >c:\temp.txt

    Will put directory listing into a file c:\temp.txt


    tenholde
    tenholde

    Comment


      #3
      I ended up writing a vb.net script to do the job. Thanks for you help though.

      Comment

      Working...
      X