netsh advfirewall firewall add rule name="ZhengHuo" dir=out program="C:\Program Files (x86)\Hearthstone\Hearthstone.exe" action=block enable=no
The above command will be executed once the program start the first time.
You could verify it by netsh advfirewall firewall show rule name="ZhengHuo"
You might delete the rule by netsh advfirewall firewall delete rule name="ZhengHuo"
netsh advfirewall firewall add rule name="ZhengHuo" dir=out program="C:\Program Files (x86)\Hearthstone\Hearthstone.exe" action=block enable=no
The above command will be executed once the program start the first time.You could verify it by
netsh advfirewall firewall show rule name="ZhengHuo"
You might delete the rule bynetsh advfirewall firewall delete rule name="ZhengHuo"