Page 1 of 1

Find Files does not succeed

Posted: 24 Jan 2015 19:03
by RRbitwise
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?

Re: Find Files does not succeed

Posted: 24 Jan 2015 19:34
by bdeshi
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"."

Re: Find Files does not succeed

Posted: 24 Jan 2015 22:26
by RRbitwise
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.

Re: Find Files does not succeed

Posted: 24 Jan 2015 23:17
by Filehero
RRbitwise wrote:Magically, the exact Find Files sequence which previously failed now works.
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.

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

::fresh
into the Address Bar and hit <ENTER>.


FH

Re: Find Files does not succeed

Posted: 25 Jan 2015 09:34
by admin
Black Logic :biggrin: ...

Re: Find Files does not succeed

Posted: 25 Jan 2015 20:17
by RRbitwise
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.

Re: Find Files does not succeed

Posted: 26 Jan 2015 11:04
by bdeshi
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 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).
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.

Re: Find Files does not succeed

Posted: 27 Jan 2015 03:12
by RRbitwise
That's good to know. It was not clear from the documentation.

Re: Find Files does not succeed

Posted: 27 Jan 2015 08:22
by bdeshi
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.