add windows stuff
This commit is contained in:
1 parent
cbbe50878c
commit
b145e60977
1 file changed
+8
@@ -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
|
||||
Reference in new issue
Block a user