find text in docx file does not work
Moderators: Hacker, petermad, Stefan2, white
find text in docx file does not work
total commander does not find an office file which contains a certain phrase. Is this a bug, a known issue, or am i doing something wrong? Example: I know I have a .docx file which contains the words "high trust" in this particular order. I initiate a search in TC with alt+f7, i put "*.docx *.txt" (without quotations) in field "search for", and "high trust" (without quotations) in "Find text", and the path to the file in "Search in". After this i press button "Start search", but it doesn't find the file.
All of the options are checked on the right, from ANSI.. to Office xml.
For troubleshooting's sake I put a .txt file into the same folder containing these words, and Tc DOES find that, so the function basically works... just not for the docx file.
What gives?
ps. I've been struggling with this for a while now, this isn't this version-specific
All of the options are checked on the right, from ANSI.. to Office xml.
For troubleshooting's sake I put a .txt file into the same folder containing these words, and Tc DOES find that, so the function basically works... just not for the docx file.
What gives?
ps. I've been struggling with this for a while now, this isn't this version-specific
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: find text in docx file does not work
It's possible that entire phrases cannot be found due to formatting. I need a test file to find out the reason in your case.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: find text in docx file does not work
2gregcoaly
Not confirmed.
Tested with:
Windows 11 Pro (x64) Version 24H2 (OS Build 26100.2894) - 2025-01-14 | TC 11.50 x64/x86
Microsoft® Word LTSC MSO (16.0.14332.20824) 64-Bit - Part of: Microsoft Office LTSC Professional Plus 2021:
- Font: Calibri (text body) ... (German:Schriftart: Calibri (Textkörper))
- No formatting
Not confirmed.
Tested with:
Windows 11 Pro (x64) Version 24H2 (OS Build 26100.2894) - 2025-01-14 | TC 11.50 x64/x86
Microsoft® Word LTSC MSO (16.0.14332.20824) 64-Bit - Part of: Microsoft Office LTSC Professional Plus 2021:
- Font: Calibri (text body) ... (German:Schriftart: Calibri (Textkörper))
- No formatting
Re: find text in docx file does not work
2gregcoaly
Not confirmed
Tested with many .docx files.
TC always found the content I searched for.
Not confirmed
Tested with many .docx files.
TC always found the content I searched for.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: find text in docx file does not work
To see what my search function sees, open the docx file with Ctrl+PageDown, then go to subdirectory "word" and view the file document.xml with F3. Now switch to html mode by pressing 5.
You can try finding the string (or parts of it) you wanted to find with the search function. Any anomalies?
You can try finding the string (or parts of it) you wanted to find with the search function. Any anomalies?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: find text in docx file does not work
Backslashes in the search string could create troubles.
Re: find text in docx file does not work
I think that as soon as colleague gregcoaly will post here the file in which he received this error,
everything will become clearer. It remains to wait for this action.
everything will become clearer. It remains to wait for this action.
#146217 personal license
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: find text in docx file does not work
User gregcoaly finally replied to my e-mail a few days ago, and writes that he can no longer reproduce the error. However, now he can't find a specific text in a html file (which he sent me), but it works just fine in my tests. One thing I noticed that the text he was looking for had different case (upper-/lowercase) in the html file he couldn't find, but same case in a text file he could find. So my guess is that he had the option "case sensitive" checked when doing the search. So far he hasn't replied to my new mail where I asked him this.
Moderator message from: ghisler(Author) » 2025-02-10, 09:26 UTC
Moved to will not be changed
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com