Hi there

I just want to know if it is posible to write a batch file wich can change your IP when you click on it?

Re: Batch Files 80 80

Yes, but are you refering to a static IP (like one that is assigned by you, and only changes when you want it to) or a dynamic IP like DHCP?

Re: Batch Files 80 80

I`m referring to a static IP.

Re: Batch Files 80 80

do you want to be able to enter the new IP, or just have it changed to a predefined IP?

Re: Batch Files 80 80

Are it posible to do both?

Re: Batch Files 80 80

Wait, yes. If you pass the IP as a command line parameter. If there is no parameter, it can default to something, yes.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.