Name: Alireza Date: April 10, 2006 at 08:08:11 Pacific Subject: Batch file to edit text file OS: DOS CPU/Ram: Pentium 4 Model/Manufacturer: Gigabyte
Comment:
Hi,
I have a text file, which contains some text, including "192.168.168.44" in it. This is the IP address of a VPN connection I establish to a server, and the last number (44 for example here) changes every time I connet.
I want to have a batch file, which clears everything else in the text file, except this address, and adds to it "My IP is" followed by the address.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE