windows 路由、批处理及VB

路由及批处理:

@echo off
:begin

route delete 10.0.x.0 mask 255.255.255.0 10.x.0.1 1> nul 2>&1
route delete 10.0.x.0 mask 255.255.255.0 10.x.0.1 1> nul 2>&1

ping localhost 1> nul 2>&1

goto begin

 

vb:

Set ws = CreateObject("Wscript.Shell")
ws.run "cmd /c D:\scripts\modify_route_VPN.bat",vbhide

posted @ 2017-07-20 10:47  记忆的红皮书  阅读(320)  评论(0)    收藏  举报