Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- for /R "K:\VieleSachen" %%I in (*.exe) do (
- netsh advfirewall firewall add rule name="Keinen Bock %%I" dir=in action=block program="%%I" enable=yes profile=any
- netsh advfirewall firewall add rule name="Keinen Bock %%I" dir=out action=block program="%%I" enable=yes profile=any
- echo %%I
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement