title: How to connect to a WiFi using CMD only?
body: <p>How to connect to a new WiFi by enter a password using CMD?</p>
  
  <p>For my school project I have decided to make a WiFi_manager program using cmd.</p>
  
  <p>I know to display all WiFi networks (in cmd):</p>
  
  <pre><code>netsh wlan show networks
  </code></pre>
  
  <p>Now lets say I want to connect to a WiFi network that I never connected before. And that WiFi is not yet added to profiles.</p>
  
  <p>But I know the password of the WiFi. </p>
  
  <p><strong>1) What will be the command line for that.</strong></p>
  
  <p>Given the information of WiFi network below:</p>
  
  <pre><code>SSID 3 : Ismail
      Network type            : Infrastructure
      Authentication          : WPA-Personal
      Encryption              : CCMP
  
  and password is "Thanks_bro".
  </code></pre>
  
  <p>If this is not possible, can it be done using C++?</p>