Find in Files is not finding text in one particular file
Posted: Wed May 13, 2015 7:49 pm
It's a plain text search- the text is definitely in that file- but the Find in Files function seems to just skip over that file or something.
I tried renaming the GUIState.xml file as mentioned in the other thread I found, but the problem still remains.
The permissions are exactly the same on this file as they are on another file that the Find in Files function successfully returns to me.
I used the "Find" command on the command line to see if it would work- and it does (it shows that the text is found in the file in question).
Other ideas to troubleshoot?
add'l info:
I found that the "findstr" command has the same quirk when I use it on a command line. I'm guessing that Textpad's Find in Files function actually uses the "findstr" command as it's engine. In that case, I guess the bug would actually be with the findstr command.
I'll see if I can reproduce the issue with a couple of small, simple files...
I'm using Windows Server 2008 R2 Enterprise, Service pack 1.
Here is proof -
The "find" command finds it, but the "findstr" command does not. Can anyone else reproduce this same issue?
More add'l info:
It appears that it might be related to the file being in unicode...
I tried renaming the GUIState.xml file as mentioned in the other thread I found, but the problem still remains.
The permissions are exactly the same on this file as they are on another file that the Find in Files function successfully returns to me.
I used the "Find" command on the command line to see if it would work- and it does (it shows that the text is found in the file in question).
Other ideas to troubleshoot?
add'l info:
I found that the "findstr" command has the same quirk when I use it on a command line. I'm guessing that Textpad's Find in Files function actually uses the "findstr" command as it's engine. In that case, I guess the bug would actually be with the findstr command.
I'll see if I can reproduce the issue with a couple of small, simple files...
I'm using Windows Server 2008 R2 Enterprise, Service pack 1.
Here is proof -
Code: Select all
F:\Programs\Utils>type "F:\tech\temp\testsearch.sql"
/* Tables updated:
,[Instar follow ups],
*/
F:\Programs\Utils>findstr /c:"Instar follow" "F:\tech\temp\*.sql"
F:\Programs\Utils>find "Instar follow" "F:\tech\temp\*.sql"
---------- F:\TECH\TEMP\TESTSEARCH.SQL
,[Instar follow ups],
F:\Programs\Utils>
More add'l info:
Code: Select all
F:\Programs\Utils>findstr /c:"In" "F:\tech\temp\*.sql"
F:\Programs\Utils>findstr /c:"I" "F:\tech\temp\*.sql"
:\tech\temp\testsearch.sql: , [ I n s t a r f o l l o w u p s ] ,