[Help] Modifications in a batch file

Page 2 of 2 FirstFirst 12

  1. Posts : 4,364
    Windows 11 21H2 Current build
       #11

    Try releasing the IP and then rebooting to see if it grabs a new IP on the reboot....
      My Computer


  2. Posts : 3
    Windows 7
       #12

    I've been using this on XP, then when I upgrade my pc I can't do it on Windows 7, Honestly I've been trying with IpV4 and commands around both Ip configs that (7) gots but unfortunatelly can't run the batch file to change the IP on my PC with (7). Could anyone help me please?

    netsh interface ip set address name="LAN" source=static addr=10.160.5.181 mask=255.255.0.0 gateway=10.160.1.1 gwmetric1
    netsh interface ip set dns name="LAN" source=static addr=10.10.1.46
    netsh interface ip add dns name="LAN" addr=10.10.1.52
      My Computer


  3. Posts : 3
    Windows 7
       #13

    Please, could anyone help to me_

    I've trying many ways to get change the ip in windows vista but can't, I'm doing some sily mistake. This is how I do in XP
    netsh interface ip set address name="LAN" source=static addr=10.160.5.181 mask=255.255.0.0 gateway=10.160.1.1 gwmetric1
    netsh interface ip set dns name="LAN" source=static addr=10.10.1.46
    netsh interface ip add dns name="LAN" addr=10.10.1.52


    I beg to anyone support me on this stuff to get work into windows 7

    Thanks a lot

    Renee
      My Computer


  4. Posts : 3
    Windows 7
       #14

    Batch file


    I've trying many ways to get change the ip in windows vista but can't, I'm doing some sily mistake.
    This is how I do in XP
    netsh interface ip set address name="LAN" source=static addr=10.160.5.181 mask=255.255.0.0 gateway=10.160.1.1 gwmetric1
    netsh interface ip set dns name="LAN" source=static addr=10.10.1.46
    netsh interface ip add dns name="LAN" addr=10.10.1.52


    I beg to anyone support me on this stuff to get work into windows 7

    Thanks a lot

    Renee
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 14:23.
Find Us