Re: Using Netsh in XP

Tech-Archive recommends: Fix windows errors by optimizing your registry



Ive tried setting the adapter properties and then dumping the config. I
rename that file to batch but it doesnt change from dhcp to static. Cant
remember how it's done.



"Doug Sherman [MVP]" <dsherman@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:%23itrR9OnFHA.3256@xxxxxxxxxxxxxxxxxxxxxxx
> You need to be in the netsh interface ip context. The command you want is
> 'set address'. See:
>
> http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-
> us/netsh.mspx
>
> Doug Sherman
> MCSE, MCSA, MCP+I, MVP
>
> "Bobby" <blh_24@xxxxxxxxxxxxxxxxxx> wrote in message
> news:emrlqrNnFHA.3552@xxxxxxxxxxxxxxxxxxxxxxx
>> There is a way to use "netsh" to dump your configuration either dhcp or
>> static address. You can then change the file extension to a batch file
>> and
>> just double-click on either and it will set your network adapter to those
>> properties.
>>
>> I have seen this done before but can't get it to work. Someone help.
> Thanks
>> in advance.
>>
>>
>
>


.