在命令提示符(cmd)依次执行如下命令,怎样写相应的批处理文件?
1.ipconfig.bat(依次执行如下两个命令)ipconfig/releaseipconfig/renew2.route.bat(依次执行如下三个命令)C:\>ro...
1. ipconfig.bat (依次执行如下两个命令)
ipconfig/release
ipconfig/renew
2. route.bat (依次执行如下三个命令)
C:\>route add 10.0.0.0 mask 255.0.0.0 10.6.16.1
C:\>route delete 0.0.0.0 mask 0.0.0.0 10.6.16.1
C:\>route add 0.0.0.0 mask 0.0.0.0 192.168.1.1 展开
ipconfig/release
ipconfig/renew
2. route.bat (依次执行如下三个命令)
C:\>route add 10.0.0.0 mask 255.0.0.0 10.6.16.1
C:\>route delete 0.0.0.0 mask 0.0.0.0 10.6.16.1
C:\>route add 0.0.0.0 mask 0.0.0.0 192.168.1.1 展开
展开全部
D:
echo ipconfig/release >ipconfig.bat
echo ipconfig/renew >>ipconfig.bat
echo C:\>route add 10.0.0.0 mask 255.0.0.0 10.6.16.1 >route.bat
echo C:\>route delete 0.0.0.0 mask 0.0.0.0 10.6.16.1 >>route.bat
echo C:\>route add 0.0.0.0 mask 0.0.0.0 192.168.1.1 >>route.bat
一行一行的吧代码黏贴到命令提示符里就会在D盘里生成你要的两个BAT批处理了
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询