|
Answer» Hi, How do I specify a hex string to DOS FIND? I TRIED to use Line feed hex 25 or Carriage return hex 0D to SEARCH a .txt file I was unsuccessful. I was successful using a regular string (127.0.0.1).
This is the command that I entered:
Find /C "0x'0D'" C:\Windows\System32\Drivers\etc\Hosts It failed, returned zero
I tried this: Find /C "127.0.0.1" C:\Windows\System32\Drivers\etc\Hosts
It worked, returned 8194 ThanksI don't think you can do it with find. There are a few utilities out there like this one, that might WORK for you: Find & Replace 1.0
|