use NETSH will do it. You can go to the "Windows Help And Support Center" type in the search box at the top "NETSH" and it will give you a listing of its commands. You can also set a static IP address inside of Network Connections as well.
Inside of "Network Connections":
Right Click on your network connection you want to set a static IP Address too and select "Properties"
Select "Internet Protocol (TCP/IP) and click "Properties"
Click the "Use the following IP address" and type in your IP address that you want to use, the subnet mask and default gateway. Click OK and Windows will set it self up from their.
Travis