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
    Posts
    93
    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.

    Thanks
    Brandon

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

    • 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