From the CPP program I try to invoke this command like this:
a) system(netsh) && system(advfirewall)
b) system(netsh) && firewall
But, I am unable to get the result I want.
I actually want to configure the rules via the program for automation.
Can any one help me in this?