WIN7 开启或关闭防火墙批处理.bat

复制红色代码,粘贴到“记事本”,“另存为”.bat格式


image.png



---------------------------------------------------------

1、WIN7 开启防火墙.bat


@echo off

netsh advfirewall set allprofiles state on 


-----------------------------------------------------------------------------


2、WIN7 关闭防火墙.bat


@echo off

netsh advfirewall set allprofiles state off


| 打赏作者,一杯咖啡



如果文章对您有帮助,请打开微信扫一扫打赏二维码以表谢意!






| 免责声明


http://www.fj530.com/post/160.html


留言