add windows stuff

This commit is contained in:
eneller committed 2024-08-14 12:47:09 +02:00
1 parent cbbe50878c
commit b145e60977
1 file changed
+8
+8
View File
@@ -0,0 +1,8 @@
@ setlocal enableextensions
@ cd /d "%~dp0"
for /R %%f in (*.exe) do (
netsh advfirewall firewall add rule name="Blocked: %%f" dir=out program="%%f" action=block
netsh advfirewall firewall add rule name="Blocked: %%f" dir=in program="%%f" action=block
)
pause