Results 1 to 2 of 2

Thread: How can I retreve results from command line commands.

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 1999
    I would like to make some sort of program that makes network management easier. Can I retrieve the results from a command like ping or nbtstat? Or, will I need to use VB commands to retrieve these results?

    Has anyone used the NT Resource Kit utilty IP Configuration, which returns the results of the command line ipconfig /all. There are many others as examples also.


  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Skopje, Macedonia
    com contains the command line arguments so by examining the in the form load event you can do various things.
    Dim com As String
    com = Trim(Command$)
    I am become death, the destroyer of worlds.

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

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