Search found 7 matches

by bubuleur
26 Jan 2018 04:02
Forum: DOS Batch Forum
Topic: .bat file to edit
Replies: 12
Views: 11069

Re: .bat file to edit

Thank you so much it works impeccably well
Thank you for all and good day
by bubuleur
26 Jan 2018 02:21
Forum: DOS Batch Forum
Topic: .bat file to edit
Replies: 12
Views: 11069

Re: .bat file to edit

Thank you very much for your answer it works very well for one of my software by doing this script @echo off &setlocal cd /d "%~dp0" for %%i in (bdcam.exe) do ( NETSH advfirewall firewall add rule name="Bandicam" dir=in program="%%~fi" action="block" enable="yes" NETSH advfirewall firewall add rule ...
by bubuleur
25 Jan 2018 05:50
Forum: DOS Batch Forum
Topic: .bat file to edit
Replies: 12
Views: 11069

Re: .bat file to edit

Thank you but I change your script @echo off &setlocal for %%i in (bdcam.exe) do ( NETSH advfirewall firewall add rule name="BANDICAM-%%~nxi" dir=in program="%%~fi" action="block" enable="yes" NETSH advfirewall firewall add rule name="BANDICAM-%%~nxi" dir=out program="%%~fi" action="block" enable="y...
by bubuleur
24 Jan 2018 02:29
Forum: DOS Batch Forum
Topic: .bat file to edit
Replies: 12
Views: 11069

Re: .bat file to edit

@echo off &setlocal set "exefile=C:\Program Files (x86)\Bandicam\bdcam.exe" for %%i in ("%exefile%") do ( NETSH advfirewall firewall add rule name="blockfirewall-%%~nxi" dir=in program="%%~i" action="block" enable="yes" NETSH advfirewall firewall add rule name="blockfirewall-%%~nxi" dir=out program=...
by bubuleur
22 Jan 2018 09:54
Forum: DOS Batch Forum
Topic: .bat file to edit
Replies: 12
Views: 11069

Re: .bat file to edit

This script seems to work @echo off &setlocal set "exefile=C:\Program Files (x86)\Bandicam\bdcam.exe" for %%i in ("%exefile%") do ( NETSH advfirewall firewall add rule name="blockfirewall-%%~nxi" dir=in program="%%~i" action="block" enable="yes" NETSH advfirewall firewall add rule name="blockfirewal...
by bubuleur
22 Jan 2018 02:19
Forum: DOS Batch Forum
Topic: .bat file to edit
Replies: 12
Views: 11069

Re: .bat file to edit

Thank you so much for your answer to both of you ShadowThief I did not understand how to proceed If I want for example block RevoUninPro. exe in the folder C:\Program Files\VS Revo Group\Revo Uninstaller Pro I have to copy my bat file and paste it into this folder And after I change what sentence in...
by bubuleur
21 Jan 2018 08:59
Forum: DOS Batch Forum
Topic: .bat file to edit
Replies: 12
Views: 11069

.bat file to edit

Hello, I come to you for help Here is a file to block the .exe with the windows firewall that I found here https://sites.google.com/site/mytools4000/home/allow-block-multiple-program… I would like to modify this .bat so that it blocks only one .exe and also that I can choose which one I want to bloc...