Files
windows-scripts/BlockAllProgramsInThisFolder.bat
2023-12-05 19:39:38 -06:00

9 lines
178 B
Batchfile
Executable File

@ setlocal enableextensions
@ cd /d "%~dp0"
for /R %%a in (*.exe) do (
netsh advfirewall firewall add rule name="Batch File Blocked %%a" dir=out program="%%a" action=block
)