title: Changing IP address via command line on Windows XP
body: <p>I'm trying to change a machine IP address via cmd.exe with this code: </p>
  
  <pre><code>netsh int ip set address name="Local Area Connection" source=static addr=???.???.???.??? mask=255.255.255.0
  </code></pre>
  
  <p>The problem that the IP doesn't change (checked by <code>ipconfig</code>) but doesn't not changed on the DHCP. Thus when I restart the machine, the IP is returned to DHCP.</p>
  
  <p>I need a way to change the IP permanently via command line.</p>
  
  <p>Any ideas?</p>