ECHO DOS results



I have a batch program that i use to return results for a remote
computer for a variety of commands. This program then saves the return
values to a file, i want to dumb this up a bit for some of my fellow
employees.

Is there a way to ECHO results from a batch file to a visual basic
variable instead of a file? i understand i could just take the results
of the file and save it as a string, but i would just like to try to
bypass the extra work. Plus i'd have to rewrite my batch to write to
multiplule files otherwise i'd have a really long string.

I recently found how to run the batch and have my VB program wait
untill it is done running to continue, so theroticly i could just pull
the results from files. But i'll put this ball in the court of you
programming brainiacs.

Thanks,
KW

.



Relevant Pages

  • Re: multitasking movefile and running queries?
    ... So would a simple batch file spawned by the Shell command. ... Each data set that I generate, ... Sub transfer(str_file As String, str_dest_location As String) ... Dim fs As Variant ...
    (comp.databases.ms-access)
  • Re: multitasking movefile and running queries?
    ... So would a simple batch file spawned by the Shell command. ... Each data set that I generate, ... Sub transfer(str_file As String, str_dest_location As String) ... Dim fs As Variant ...
    (comp.databases.ms-access)
  • Re: Update a record in an SQL table
    ... Doug Steele, Microsoft Access MVP ... Now that I know the next batch number, ... I will assemble this string each time and run it the same as your example ... Dim mydb As DAO.Database ...
    (microsoft.public.access.modulesdaovba)
  • Re: Update a record in an SQL table
    ... Now that I know the next batch number, ... I will assemble this string each time and run it the same as your example ... Dim mydb As DAO.Database ... Dim sqltext As String, strConnect As String ...
    (microsoft.public.access.modulesdaovba)
  • Re: Making pasta for the very first time
    ... and bought new plastic coat hangers and rolled out smaller hunks of pasta ... hangers and put them on the string to dry while I continued. ... This batch was much more delicate than the all-AP batch was. ... okay, but made a bit of a puffy, insubstantial noodle, even at al ...
    (rec.food.cooking)