hi to all i have a text file that contain an ip but should be update every day for an vpn how can i replace this ip in a txt file with another one
my ip.txt file contain this
192.168.233.188 4e-53-d0-68-34-bf dynamic
(@ECHO OFF
ECHO Configuring Proxy Settings please wait...
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d 192.168.158.134:8080 /f
EXIT
i want first line (192.168.233.188) just this one replace with ip in 5th line (192.168.158.134)
attention== first line ip will change every day
how can i do it can you help?
i batch script could be very nice
thanks