I am trying to add a firewall rule but I think I got the syntax wrong.
Run(@ComSpec & "/k " & 'netsh advfirewall firewall add rule name=' & '"New"' & 'dir=in action=allow program=' & NoSlash(@ScriptDir) & '"\MyApp.exe"' & 'enable=yes')
Could you please let me know what I missed.