Jovaras Posted January 4, 2008 Report Share Posted January 4, 2008 Hi,I'm changing my gateway ip's very often( http://img104.imageshack.us/img104/5983/netwoerkli0.jpg )Control panel ->Network connections->Local area connection->Properties->Internet protocol(TCP/IP) Properties.I'm switching often from no ip's(automatically detect) to numbers you see in picture.I want to access faster, or change numbers automatically with some script. Is that possible?Now I'm using simple script(as .bat file), which doesnt help alot:cmdow @ /hidncpa.cplEXITPlease help me to do this way faster, because I'm tired from going to network connections and enterting numbers every time. Quote Link to comment Share on other sites More sharing options...
trickysan Posted January 8, 2008 Report Share Posted January 8, 2008 Hi,Try netsh exec <filename>sample script can be generated by netsh dump > samplescriptregardstrickysan Quote Link to comment Share on other sites More sharing options...
Artem Posted January 9, 2008 Report Share Posted January 9, 2008 You should make a bat file.I'm using the next one.netsh interface ip set address name="Local_main" source=static addr=10.0.12.217 mask=255.255.255.0 gateway=10.0.19.1 gwmetric=0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.