Saved Bookmarks
| 1. |
Solve : Stripping CRLR Characters? |
|
Answer» Hello, I have a file called x.txt containing an ip ADDRESS 192.168.200.100 followed by a return character. I have a file called x.txt containing an ip address 192.168.200.100 followed by a return character By typing out such a file, you WOULD get the IP address followed by a blank line. How was x.txt CREATED? I fail to see why the HIGH order character is getting dropped. 8-)Do this Code: [Select]@ECHO off for /f "tokens=1-5 delims= " %%a in (ip.txt) do echo %%a %%b pauseI had a text file that looked like this 152.135.12.45 k and it returned all of it |
|