本帖最后由 ivor 于 2012-12-26 11:08 编辑
- @echo off
- echo 1,禁止修改本地连接
- echo 2,允许修改本地连接
-
- echo 3,退出
-
- set /p choice=
- if %choice% equ 1 goto 1
- if %choice% equ 2 goto 2
- exit
- :1
- regsvr32 netcfgx.dll netshell.dll netman.dll /u /s
- exit
- :2
- regsvr32 netcfgx.dll netshell.dll netman.dll /s
复制代码
|