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?

Recommended Answers

All 5 Replies

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?

I`m referring to a static IP.

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

Are it posible to do both?

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.