setting TCP/IP properties from an script file?

  • Thread starter Thread starter JJM
  • Start date Start date
J

JJM

Does anyone knows how to change the TCP/IP setting (fixed
IP addr, mask, default gateway, DNS..) of my PC LAN
Interface using a batch file?

I am tired of changing it every day (from fixed IP addr,
to DCHP enabled and back) using the graphical interface.

Does someone know how to do it from an executable file?

thanks in advance,
JJM
 
Hi -

This is pretty easy to fix.

In Control Panel --> Network Connections set the primary
TCP-IP properties to DHCP and in the "Alternate
Configuration" tab you'll see a place where you can set a
static IP if DHCP is not available. No batch file
required :)

hth -
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top