S
Swgwm
How to Block entire .exe files of a specified folder in (e.g. "C:\ProgramData\" or "C:\Program Files\") Windows Firewall using .bat?I want to run it from pen drive for specified folder in "C:\ProgramData\" or in "C:\Program Files\"Seems like this is exist but it need to be paste at the folder first.---------------------------------------@ 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 ) pause ---------------------------------------What in my mind is to create a .bat file and past
Continue reading...
Continue reading...