| @echo off | | title 有什么问题,可加QQ956535081及时沟通;代码可用,扫码头像,随意赞助 | | cd /d "%~dp0" | | for /f "delims=" %%a in ('dir /a-d/b/s *.exe') do ( | | echo;"%%a" | | netsh advfirewall firewall add rule name="test_%%~nxa" dir=in action=block program="%%a" | | netsh advfirewall firewall add rule name="test_%%~nxa" dir=in action=block program="%%a" | | ) | | pauseCOPY |
|