title: What API calls are involved in opening a port in the Windows Firewall?
body: <p>I have a batch file that installs WinVNC in about 1 second and starts up the service.  However, I still have to manually go into the Windows Firewall and open a port to allow connections.  How can I do that programmatically?</p>
  
  <p>If I could do it from inside the batch file, that would be ideal, but I'm ok writing an EXE if that's necessary.</p>