Windows' search vs. TC's search
Moderators: white, Hacker, petermad, Stefan2
Windows' search vs. TC's search
Today I was doing a search for a particular text (my initials DVDM) within AutoCAD dwg files. I did this to find all files that I had worked on, because these files will have a block reference in it containing these initials.
TC's search function only returned 7 files, which wasn't nearly enough. I tried Windows search function instead, and it returned 48 files, which was a lot more like it.
The files that TC did find, when opening them in notepad, did contain the string DVDM in it. The additional files that Windows found, did not contain the string DVDM in it when searching in notepad. However, all these drawing files did have my initials in a block reference within the drawing.
Now, these files may have been saved in a variety of different versions (acad 2000, 2004, 2006, 2007), and may have contained different types of block references with my intials. I did not have enough time to find a possible logic behind that.
But regardles, Windows' search function did find what I was looking for, TC didn't.
What does Windows do different here, and how can I reproduce the same search result with TC?
TC's search function only returned 7 files, which wasn't nearly enough. I tried Windows search function instead, and it returned 48 files, which was a lot more like it.
The files that TC did find, when opening them in notepad, did contain the string DVDM in it. The additional files that Windows found, did not contain the string DVDM in it when searching in notepad. However, all these drawing files did have my initials in a block reference within the drawing.
Now, these files may have been saved in a variety of different versions (acad 2000, 2004, 2006, 2007), and may have contained different types of block references with my intials. I did not have enough time to find a possible logic behind that.
But regardles, Windows' search function did find what I was looking for, TC didn't.
What does Windows do different here, and how can I reproduce the same search result with TC?
RegEx & Plugins…
2DVDM
Hello !
• I'm not expert at this, but I guess that you would get a much better Search result using i.e. :
RegEx and¦or Plugins to match the “DVDM” pattern in your texts…
Kind regards,
Claude
Clo
Hello !
• I'm not expert at this, but I guess that you would get a much better Search result using i.e. :
RegEx and¦or Plugins to match the “DVDM” pattern in your texts…
Kind regards,
Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
Thanks to both of you for your suggestions.
I've tried ticking all the boxes, but it didn't make a difference unfortunately. I'm not sure how Regular Expressions would help me in my search, and I haven't looked at what plugins could do for me yet.
The files I do find in a search, are also found when I tick ASCII, HEX, & UTF8, but not when I tick UNICODE.
I did some trail and error testing to find a pattern in this.
Using TC's search, an ACAD 2000 file allowed me to find a string of text in the following objects: Text, MText, Layers, (certain) Block references.
An ACAD 2004 revealed just Text and (certain) Block references.
Windows search however, was able to find a text in every object I tested, including Blocks (their names), Block Reference Attributes, and Dimensions.
It seems to me that Windows search uses a more intelligent search method, taking into account the specific formatting of a file. I found the following that I think is related to it (Indexing Service): http://msdn2.microsoft.com/en-us/library/ms689718.aspx
I've tried ticking all the boxes, but it didn't make a difference unfortunately. I'm not sure how Regular Expressions would help me in my search, and I haven't looked at what plugins could do for me yet.
The files I do find in a search, are also found when I tick ASCII, HEX, & UTF8, but not when I tick UNICODE.
I did some trail and error testing to find a pattern in this.
Using TC's search, an ACAD 2000 file allowed me to find a string of text in the following objects: Text, MText, Layers, (certain) Block references.
An ACAD 2004 revealed just Text and (certain) Block references.
Windows search however, was able to find a text in every object I tested, including Blocks (their names), Block Reference Attributes, and Dimensions.
It seems to me that Windows search uses a more intelligent search method, taking into account the specific formatting of a file. I found the following that I think is related to it (Indexing Service): http://msdn2.microsoft.com/en-us/library/ms689718.aspx
As per Clo's suggestion, maybe a Plugin will help.
I think if you install the new TextSearch content plugin and configure the IFilter wrapper for it, you will be able to do IFilter search if you associate it with DWG files. For more information ask your questions on Alexey's thread.
I think if you install the new TextSearch content plugin and configure the IFilter wrapper for it, you will be able to do IFilter search if you associate it with DWG files. For more information ask your questions on Alexey's thread.
aNDreas Bolotă
The truth always carries the ambiguity of the words used to express it. (Frank Herbert, God Emperor of Dune)
The truth always carries the ambiguity of the words used to express it. (Frank Herbert, God Emperor of Dune)
Refreshing up an old thread ...
I have the same problem: Searching for a "text content" (e.g. "aee") in AutoCAD-DWG files brings nothing with TC, but the correct result with "Windows Explorer".
On my PC is installed a lot of Autodesk-software (AutoCAD, DWGTRueview, ...), and I know that one of these packages installed a "Search filter / Search extension". I have
Is it possible to use this feature with TC without plugins? Or only with ..?
Peter
I have the same problem: Searching for a "text content" (e.g. "aee") in AutoCAD-DWG files brings nothing with TC, but the correct result with "Windows Explorer".
On my PC is installed a lot of Autodesk-software (AutoCAD, DWGTRueview, ...), and I know that one of these packages installed a "Search filter / Search extension". I have
Code: Select all
AcDwgFilter16.dll AcDwgFilter AcDwgFilter Module 16.2.54.0 16.2.54.0 Autodesk C:\Program Files\Common Files\Autodesk Shared\AcDwgFilter\AcDwgFilter16.dll {7F0A7E9C-4760-4db0-A875-B7BAEC4BA137} {8E77F05A-5BE0-463a-B07C-06C16F525297} 03.08.2006 09:04:01
Peter
TC 10.xx / #266191
Win 10 x64
Win 10 x64
- ghisler(Author)
- Site Admin
- Posts: 48113
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The file may be a Unicode file. Currently you cannot search for Unicode and plain text at the same time.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I don't think so. I tried to search with "Unicode-Option" - and find nothing. At the moment I'm playing around with Plugin "Textsearch" and try to configure it - in c:\Program Files\Common Files\Autodesk Shared\AcDwgFilter I haveghisler(Author) wrote:The file may be a Unicode file. Currently you cannot search for Unicode and plain text at the same time.
- AcDwgFilter16.dll
AcDwgFilter16.tlb
AcDwgFilterImp16.exe
AcDwgFilterImp16.tlb
ad18asm216.dll
mfc70.dll
mfc70loc.dll
msvcp70.dll
msvcr70.dll
TC 10.xx / #266191
Win 10 x64
Win 10 x64
Config-problem for DWG solved here:ND wrote:...you will be able to do IFilter search if you associate it with DWG files. ...
http://ghisler.ch/board/viewtopic.php?t=16637&postdays=0&postorder=asc&start=70
Peter
TC 10.xx / #266191
Win 10 x64
Win 10 x64