in order to configure tcp/ip settings such as the ip address, subnet mask, default gateway, dns and wins addresses and many other options you can use netsh.exe.
netsh.exe is available on windows 2000, windows xp and windows server 2003. 【程序编程相关:C# 静态成员和方法的学习小结】
netsh.exe is a command-line scripting utility that allows you to, either locally or remotely, display or modify the network configuration of a computer that is currently running. netsh.exe also provides a scripting feature that allows you to run a group of commands in batch mode against a specified computer. netsh.exe can also save a configuration script in a text file for archival purposes or to help you configure other servers. 【推荐阅读:bugzilla安装】
you can use the netsh.exe tool to perform the following tasks:
... 下一页