I am having trouble with the Find Files function NOT finding files
which I know for certain contain the string I'm looking for.
For example, I have a directory named C:\Things\asm which contains
two files:
dir c:\things\asm
Directory of c:\things\asm
2015-01-24 10:06 AM <DIR> .
2015-01-24 10:06 AM <DIR> ..
2013-12-28 12:40 PM 154,423 zsvapc1
2013-12-28 12:40 PM 19,330 zsvavsm
2 File(s) 173,753 bytes
Each of these files contain a line with the string "TITLE" in it.
For example:
&Z#FCNID TITLE 'Non Space Switch PC Management'
I use the Find Files function to search this directory for the
string "title" as shown in the attachments, but the search results is empty.
In the "Name and Location" tab area the "Name" field is empty and
the "Location" field contains "C:\Things\asm". In the "Contents"
tab area the string TITLE is in the content box, the "Mode" is set
to Normal and the "Type" is set to Text.
I've attached a couple of screen images for your reference.
What an I doing wrong?
Find Files does not succeed
Forum rules
You might want to read this if you're looking for priority service
Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
You might want to read this if you're looking for priority service
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
-
RRbitwise
- Posts: 58
- Joined: 06 Feb 2014 17:52
- Location: Windows 11 Pro 25H2, display scaling 125%
Find Files does not succeed
To see the attached files, you need to log into the forum.
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: Find Files does not succeed
I know it doesn't sound very logical but try setting Content type to Text & binary....
ed: or upgrade to at least a version >= v14.30.0302
because it "Improved the logic so that also unknown text file types are searched when content type is set to "Text"."
ed: or upgrade to at least a version >= v14.30.0302
because it "Improved the logic so that also unknown text file types are searched when content type is set to "Text"."
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
RRbitwise
- Posts: 58
- Joined: 06 Feb 2014 17:52
- Location: Windows 11 Pro 25H2, display scaling 125%
Re: Find Files does not succeed
It appears that there is some sort of bug in newer versions of XYplorer working
with the files contained in the \XYplorer\Data directory from earlier versions.
I deleted the complete content of that directory, then simply restarted XYplorer
V14.20.0200 and re-entered my license key. Magically, the exact Find Files
sequence which previously failed now works.
Just as an FYI, I've installed version 14.80.0200 without using the content of
my existing \XYplorer\Data directory and the Find Files function seems to
be working correctly.
with the files contained in the \XYplorer\Data directory from earlier versions.
I deleted the complete content of that directory, then simply restarted XYplorer
V14.20.0200 and re-entered my license key. Magically, the exact Find Files
sequence which previously failed now works.
Just as an FYI, I've installed version 14.80.0200 without using the content of
my existing \XYplorer\Data directory and the Find Files function seems to
be working correctly.
-
Filehero
- Posts: 2734
- Joined: 27 Feb 2012 18:50
- Location: Windows 11@100%
Re: Find Files does not succeed
I think there's more logic than magic into it. By deleting the complete XY's \data path you have reset XYplorer to a virgin state, or in other words: you made it fresh again.RRbitwise wrote:Magically, the exact Find Files sequence which previously failed now works.
That just means,
1) you had some sort of troubles with your settings (could be minor ones, though!). If everything is fine again and you haven't lost too much settings, I advise to leave it as fresh as it is.
2) in the future you can check this easily by entering
Code: Select all
::freshFH
-
admin
- Site Admin
- Posts: 67279
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
RRbitwise
- Posts: 58
- Joined: 06 Feb 2014 17:52
- Location: Windows 11 Pro 25H2, display scaling 125%
Re: Find Files does not succeed
I think what you're suggesting is running XYplorer without loading the
configuration data, i.e, the same as launching XYplorer with the "/fresh"
command line option.
I think that's actually a nice debugging idea, but one needs to be sure to have
either saved away (somewhere else) the existing config options, or, use the
"/ini" command line option to point to a nonexistent ini file location, or. change
the XYplorer settings to not save config settings at exit.
But, clearly there is some sort of XYplorer bug/glitch here. I very rarely make
config settings changes, which leads me to believe that something went awry
in XYplorer which lead to the misbehaving of the file search functions.
I think that going forward, I'm going to use BeyondCompare to extract the
config settings changes that I've made (mostly color scheme changes) to the
base XYplorer settings, then blow everything away before installing a new
XYplorer version, and then reintegrate my changes.
Thanks for the help.
configuration data, i.e, the same as launching XYplorer with the "/fresh"
command line option.
I think that's actually a nice debugging idea, but one needs to be sure to have
either saved away (somewhere else) the existing config options, or, use the
"/ini" command line option to point to a nonexistent ini file location, or. change
the XYplorer settings to not save config settings at exit.
But, clearly there is some sort of XYplorer bug/glitch here. I very rarely make
config settings changes, which leads me to believe that something went awry
in XYplorer which lead to the misbehaving of the file search functions.
I think that going forward, I'm going to use BeyondCompare to extract the
config settings changes that I've made (mostly color scheme changes) to the
base XYplorer settings, then blow everything away before installing a new
XYplorer version, and then reintegrate my changes.
Thanks for the help.
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: Find Files does not succeed
the /fresh commandline argument and the scripting command ::fresh; (which you can directly enter in the addressbar) is solely for the purpose of running XY with a (temp) factory default profile, so it doesn't make sense that the user should need any preparations (save settings or backup settings etc).RRbitwise wrote:I think what you're suggesting is running XYplorer without loading the
configuration data, i.e, the same as launching XYplorer with the "/fresh"
command line option.
I think that's actually a nice debugging idea, but one needs to be sure to have
either saved away (somewhere else) the existing config options, or, use the
"/ini" command line option to point to a nonexistent ini file location, or. change
the XYplorer settings to not save config settings at exit.
The fresh XY instance does not touch current XY settings, does not take current XY settings into account, runs a copy of the program with default settings, and any changes made in the fresh instance are not written to the main profile.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
RRbitwise
- Posts: 58
- Joined: 06 Feb 2014 17:52
- Location: Windows 11 Pro 25H2, display scaling 125%
Re: Find Files does not succeed
That's good to know. It was not clear from the documentation.
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: Find Files does not succeed
Well, a fresh instance has some restrictions on saving settigns , (compare File->Exit menu item of a normal and a fresh XY) but DO NOT use the File->Save Settings or Settings Special (or the Save settings toolbar button).
Also tabsets and thumbnails can be modified from within a fresh instance. Saving tabsets will overwrite the default "1" and "2" panes and thumbnails are cached in <xydata>\Thumbnails, so if your active/in-use profile's tabsets and thumbnail cache path are named otherwise, you're good.
just a few facts you should know for now.
Also tabsets and thumbnails can be modified from within a fresh instance. Saving tabsets will overwrite the default "1" and "2" panes and thumbnails are cached in <xydata>\Thumbnails, so if your active/in-use profile's tabsets and thumbnail cache path are named otherwise, you're good.
just a few facts you should know for now.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
XYplorer Beta Club