Shell ipconfig the lazy way Visual Basic 2010


  • Shell("cmd /c ipconfig /all | findstr ""IPv4 Subnet Gateway"" > c:\support\ipconfig.txt", AppWinStyle.Hide, True)


  • lblIPConfig.Text = My.Computer.FileSystem.ReadAllText("c:\support\ipconfig.txt")

  • Comments

    Popular posts from this blog

    Powershell - Com+ Application Recycle

    Powershell : Certutil Find Expired Certs on CA server