I am trying to search files containing unicode strings (UTF-16) meaning each char is followed by a null but I cannot seem to get it working.
Ex:
h.e.y.. = 68 00 65 00 79 00 00
I have tried many things like with Wildcards & Regular Exps enabled and disabled:
h.e.y
hey
h?e?y
h-e-y
h_e_y
h\ne\ny
h\0e\0y
h\x00e\x00y
h\00e\00y - suggested here: resource.dopus.com/viewtopic.php ... ht=unicode
I was actually the one creating it using a hex editor (UltraEdit in Hex mode) and simply just adding in nulls between the chars.
Typically there are many files that store strings in unicode format (such as PE and other COFF/obj format files: such as Dlls, Exes, etc)
My specific purpose though, that brought this up was for searching through the .db files in the Thumbnail cache because I wanted to see if I could remove a specific folder from the cache instead of clearing all if it via opus, but I first wanted to see if it would even work with a test (and it obviously is not).
In fact, I don't think it will work in any case because it only seems to cache mainly videos (from the readable text of what I have seen inside), and the file structure if very obscure. I am hopeing sometime in the future they will give Dopus a feature to manage (such as deleteing) specific folders.
Long story short = I want to change the thumbnails of some folders to images, and not videos (which just have a black screen as thumbnails) and the only alternative to do that would be to rename the folder to something else, or purge all of its cache.
Well, in any case, thanks for verifying. I guess I will now need to hunt for some software that supports it.. although it will be hard to find compared to the many search options Opus provides for the advance find configuration
I thought for sure that the "." would have worked since the manual says that when Regular Expressions is checked then the . can stand for any char. Perhaps it is a bug.
You can tell it to search all files in a folder for strings, optionally forcing it to look for Unicode, and then pipe that through something which filters it down to what you're looking for.
I think you can use the built-in FindStr command in XP and above to filter the output of other programs. Or you could just run Strings.exe into a text file and then search inside that:
Strings.exe -s "C:\FolderToSearch" >temp.txt
Or similar.
I've got an Opus button which runs strings.exe on all the selected files with the results displayed on screen. (The -n 20 means ignore strings less than 20 chars long.)
Yea, strings.exe does have the functionality that I was looking for in DO's searching.
Hopefully it will be fixed in the future to allow for specific chars or any chars.
For anyone wondering here is an example syntax to search for files containing specific text:
[Path to String.exe] strings.exe "[Folder to search]*" | findstr /i [Text to find]
Example: (If you put strings.exe in one of the %path% variables locations like system32)
strings.exe "C:\Documents and Settings\Matt\Local Settings\Application Data\GPSoftware\Directory Opus\Thumbnail Cache*" | findstr /i SomeUnicodeText
This will list all files with SomeUnicodeText in ANSI and UNICODE format.
Sorry to bring this topic back up again, but I still would like to have my checkbox that says something like "Search through Unicode strings" (this wont be hard to implement at all)
Would also be nice to be able to specify character wild cards or define variables for specific/special characters, but Ill just be happy with the Unicode string support for now... so at least do that please
As Leo pointed out, this is a USER-RUN forum, the devs do pop in from time to time but are under no obligation to do so. Official support (including feature requests) for Opus is available through their website. Whilst it can be handy to discuss requests here, they must be made officially to ensure they make it into the request database.