@echo offif "%1" == "h" goto begin mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit :begin netsh wlan start hostednetworkping 127.1 -n 61>nulgoto beginrem 保存为bat文件后,以管理员身份运行