好友
阅读权限20
听众
最后登录1970-1-1
|
本帖最后由 yctx2050 于 2023-4-13 04:38 编辑
不是工具,其实就是两条命令:
禁用无线网卡:
netsh interface set interface "WLAN" disabled
启用无线网卡:
netsh interface set interface "WLAN" enabled
只不过是将这两条命令导入到注册表中,生成桌面右键菜单。
顺便分享一下注册表文件:
桌面右键-Wifi开关.reg
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Wifi开关]
"Icon"="SHELL32.dll,18"
"MUIVerb"="Wifi开关(&A)"
"Position"="Bottom"
"SubCommands"=""
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Wifi开关\Shell]
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Wifi开关\Shell\01禁用无线网卡]
@="禁用无线网卡"
"Icon"="%windir%\\System32\\SHELL32.dll,131"
"Position"="Top"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Wifi开关\Shell\01禁用无线网卡\command]
@="netsh interface set interface wlan disabled"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Wifi开关\Shell\02启用无线网卡]
@="启用无线网卡"
"Icon"="%windir%\\System32\\SHELL32.dll,296"
"Position"="Top"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Wifi开关\Shell\02启用无线网卡\command]
@="netsh interface set interface wlan enabled"
|
免费评分
-
查看全部评分
|