1. 设置中输入固定的IP和DNS,然后运行CMD命令输入以下命令:netsh -c interface dump >c:\staticip.txt

2. 用同样的方法将网卡TCP/IP属性设置成在自动分配IP的网络配置,执行以下命令:netsh -c interface dump >c:\autoip.txt

3.制作批处理文件staticip.bat内容为:netsh -f c:\staticip.txt
   制作批处理文件autoip.bat内容为:netsh -f c:\autoip.txt   
   

相关文章:

  • 2021-12-23
  • 2022-12-23
  • 2021-08-07
  • 2021-11-17
  • 2021-12-25
  • 2021-09-20
  • 2021-09-05
  • 2022-12-23
猜你喜欢
  • 2021-07-19
  • 2021-12-06
  • 2021-10-15
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案