Dr. Waqas Ali
MIS
Can someone help me to convert this .bat code into VBScript ?
`````````````````````````````````````
:: Variables
set RULE_NAME=PDF
set PROGRAM=C:\Program Files\PDF\pdf.exe
netsh advfirewall firewall add rule name="%RULE_NAME%" dir=in action=block profile=any program="%PROGRAM%"
netsh advfirewall firewall add rule name="%RULE_NAME%" dir=out action=block profile=any program="%PROGRAM%"
`````````````````````````````````````
`````````````````````````````````````
:: Variables
set RULE_NAME=PDF
set PROGRAM=C:\Program Files\PDF\pdf.exe
netsh advfirewall firewall add rule name="%RULE_NAME%" dir=in action=block profile=any program="%PROGRAM%"
netsh advfirewall firewall add rule name="%RULE_NAME%" dir=out action=block profile=any program="%PROGRAM%"
`````````````````````````````````````