Broken path: modifier in Version 1.4.1.877 (x64)

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
lobo25
Posts: 4
Joined: Mon Jun 19, 2017 2:45 am

Broken path: modifier in Version 1.4.1.877 (x64)

Post by lobo25 »

Hello,

after upgrading to Version 1.4.1.877 (x64) from an earlier 1.4.1 build, the path: modifier does not seem to work anymore.

I rely on the path modifier to limit the cope of the search to a certain path. however, in Version 1.4.1.877 the path modifier no longer seem to have an effect. the search term get matched to file names an paths alike even outside the scope specified in the path: modfier.

It used to work fine in earlier 1.4.1 build.

thanks.
void
Developer
Posts: 16848
Joined: Fri Oct 16, 2009 11:31 pm

Re: Broken path: modifier in Version 1.4.1.877 (x64)

Post by void »

Do you have any search options enabled from the Search menu?
lobo25
Posts: 4
Joined: Mon Jun 19, 2017 2:45 am

Re: Broken path: modifier in Version 1.4.1.877 (x64)

Post by lobo25 »

No, nothing special. I've been using everything for over 7 years so trust me I know my way around (happy to see you back into updating it BTW).

So, for example, typing the following term "path:aaa" in version 1.4.1.877 would return entries like:


amd64_33f01871669baaaf5e0fb4edbc9e2118.manifest

in directory

C:\Windows\WinSxS\Manifests


as you can see, the term "aaa" does not appear in the path but in the file name which basically renders the path modifier useless.
void
Developer
Posts: 16848
Joined: Fri Oct 16, 2009 11:31 pm

Re: Broken path: modifier in Version 1.4.1.877 (x64)

Post by void »

What version of Everything where you using before 877?

path: in Everything 1.4 matches the full path and filename.

If you would like to create a macro to search only paths:
  • In Everything, from the Search menu, click Organize filters....
  • Click New....
  • Set Name to: Path Only
  • Make sure all search options are unchecked.
  • Set the Search to:
    path:search: !search:
  • Set the Macro to:
    po<search>
  • Click OK.
Now you can search for po:aaa to find aaa in the path only.
therube
Posts: 4985
Joined: Thu Sep 03, 2009 6:48 pm

Re: Broken path: modifier in Version 1.4.1.877 (x64)

Post by therube »

Would:

Code: Select all

path:aaa  folder:
or
path:aaa  child:
do it?
therube
Posts: 4985
Joined: Thu Sep 03, 2009 6:48 pm

Re: Broken path: modifier in Version 1.4.1.877 (x64)

Post by therube »

Using the macro, as posted, I'm not getting expected results?
(I seem to be getting no results? Are the :'s as shown correct?)

(Actually, I'm not sure what results I'm expecting ;-).)
void
Developer
Posts: 16848
Joined: Fri Oct 16, 2009 11:31 pm

Re: Broken path: modifier in Version 1.4.1.877 (x64)

Post by void »

path:aaa folder:
Would find folders with aaa in the full path and filename.

I think lobo is wanting to match against the path part only. In other words, a path only search for aaa
should match:
c:\aaa\123.txt
should not match:
c:\123\aaa.txt
path:aaa child:
child: here would match all folders with a file or subfolder. An empty string will match all children filenames.
(I seem to be getting no results? Are the :'s as shown correct?)
Yes. Are all the search options unchecked for this filter?
Searching for po:aaa
will match:
c:\aaa\123.txt
will not match:
c:\123\aaa.txt
lobo25
Posts: 4
Joined: Mon Jun 19, 2017 2:45 am

Re: Broken path: modifier in Version 1.4.1.877 (x64)

Post by lobo25 »

Thank you for all those who replied. unfortunately, I don't seem to have a solution yet.

What I need to do is to find all files that have certain keywords AND are in directories that have certain keywords.

For example: all files that contain the words my file but only those who are in directories containing the words aaa bbb

so my search should match:

c:\aaa\bbb\xyz\my first file.txt
d:\jhydhf\ghsaaasds\hdfgdbbbbsds\ccc\ddd\file my number.txt

but should NOT match:

c:\sdf\aaa\cdf\my bbb file.txt (bbb is missing from path name)
d:\yhr\my\jdh\aaa\bbb\file.txt (my is missing from file name)

so what I am looking for is being able to do a path-name match and file name match.


if the "path:" modifier was matching only path names (not file names) then it would've been straight forward: path:(aaa bbb) my file

I don't seem to find any modifier that matched only directory names and allow for another modifier to match only file names.

The following does not work:

folder:... child:... restrict the search to folders only (no files)
path:... folder:... as above
path:... child:... no effect

I thought there might be hope with "infolder:" modifier but it only accepts full path name not path keywords.

Is there a way to separate the path-keywords from the file-keywords in search???? or changing the behavior of one of these modifiers (path: or infolder:) to instead match folder-only keywords?????

Thanks.

(UPDATE)
looking at the searching help online (https://www.voidtools.com/support/everything/searching/) it seems that the issue is there too. the web page states the following:
to find files and folders containing the text order, located in the folder starting with work, search for:

\work order
This example will also match files (not folders) that start with the word "work"

C:\Windows\ImmersiveControlPanel\Settings\Work_SystemSettings_order.txt (work is not a folder name, the file is not in a folder starting with "work")
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Broken path: modifier in Version 1.4.1.877 (x64)

Post by NotNull »

The Everything query "zooms in" from left to right, so this:

Code: Select all

file:myfile  path:aaa  path:bbb
should work?
lobo25
Posts: 4
Joined: Mon Jun 19, 2017 2:45 am

Re: Broken path: modifier in Version 1.4.1.877 (x64)

Post by lobo25 »

unfortunately no. because the path: modifier matches both folder and file names it is redundant and won't restrict to folder names

so "file:myfile path:aaa path:bbb" is the same as "myfile aaa bbb" except that you won't get any folders in the results (only files) so it is a filter to the type of results only.
ovg
Posts: 294
Joined: Thu Oct 27, 2016 7:19 pm

Re: Broken path: modifier in Version 1.4.1.877 (x64)

Post by ovg »

:idea:

Code: Select all

regex:path:".*aaa.*bbb.*(file.*my|my.*file)"
:?:
void
Developer
Posts: 16848
Joined: Fri Oct 16, 2009 11:31 pm

Re: Broken path: modifier in Version 1.4.1.877 (x64)

Post by void »

so my search should match:

c:\aaa\bbb\xyz\my first file.txt
d:\jhydhf\ghsaaasds\hdfgdbbbbsds\ccc\ddd\file my number.txt

but should NOT match:

c:\sdf\aaa\cdf\my bbb file.txt (bbb is missing from path name)
d:\yhr\my\jdh\aaa\bbb\file.txt (my is missing from file name)
Please try searching for:
"*aaa*bbb*\*my file*"
Post Reply