in reply to Change IP-address and computer name on Win32
This should give you information on setting the ip address. I have no idea if it works on anything other than XP and 2000, but its worth a shot. The syntax is something like
Could not find anything on setting the hostname, sorry.
Good Luck
Josh
Update: ++JamesNC for a much better answer.
This will give you a little more comprehensive information on using netsh.netsh interface ip add address [name=]InterfaceName [addr=]IPAddress [mask=]SubnetMask [[ +gateway=] DefaultGateway [gwmetric=]GatewayMetric]
Could not find anything on setting the hostname, sorry.
Good Luck
Josh
Update: ++JamesNC for a much better answer.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Change IP-address and computer name on Win32
by JamesNC (Chaplain) on May 19, 2003 at 22:10 UTC |
In Section
Seekers of Perl Wisdom