netsh interface ip set address <connection> static <ip> <mask>
<gateway> <gateway metric>
For example:
netsh interface ip set address "Local Area Connection" static
192.168.0.100 255.255.255.0 192.168.0.1 10
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)
Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.