最近在设置路由表的时候,为了方便,做了一个批处理
route.bat
route delete 0.0.0.0
route delete 10.25.0.0
route ADD 10.25.0.0 MASK 255.255.0.0 10.25.15.250 METRIC 1
route ADD 0.0.0.0 MASK 0.0.0.0 192.168.3.43 METRIC 1
route delete 10.25.0.0
route ADD 10.25.0.0 MASK 255.255.0.0 10.25.15.250 METRIC 1
route ADD 0.0.0.0 MASK 0.0.0.0 192.168.3.43 METRIC 1
结果运行之后,只会不停地执行route delete 0.0.0.0.
百度了一下,发现是批处理文件的名称跟windows系统保留名重复,遂改之,然后就好了
再笨,也要飞得更高!!--Flypiggy