ancestor with parent folder?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
anmac1789
Posts: 669
Joined: Mon Aug 24, 2020 1:16 pm

ancestor with parent folder?

Post by anmac1789 »

So, I like that ancestor: only shows the contents of a folder and its subfolders and files without showing similarly named folders elsewhere on the C drive. But my only question is how can I display the parent folder as well ? For example,

ancestor:"C:\Users\username\Desktop\test folder" will list everything in that folder But,

"C:\Users\username\Desktop\test folder" will partial match other folders with a similar sharing name with
"C:\Users\username\Desktop\test folder created from android"
"C:\Users\username\Desktop\test folder backup June 2022"
"C:\Users\username\Desktop\test folder without files"
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: ancestor with parent folder?

Post by NotNull »

Add a backslash at the end:
"C:\Users\username\Desktop\test folder\"


(not sure what you try to accomplish though)
anmac1789
Posts: 669
Joined: Mon Aug 24, 2020 1:16 pm

Re: ancestor with parent folder?

Post by anmac1789 »

Im trying to isolate a certain path and not show other similar paths thats the idea
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: ancestor with parent folder?

Post by void »

Do you want to display the "C:\Users\username\Desktop\test folder" folder in the results too?

Please try the following searches:

"C:\Users\username\Desktop\test folder\" | exact:"C:\Users\username\Desktop\test folder"
(easier to remember)

ancestor:"C:\Users\username\Desktop\test folder" | exact:"C:\Users\username\Desktop\test folder"
(easier to remember)

exact:"C:\Users\username\Desktop\test folder"<\**|>
(using group expansion)

regex:^[regexescape:"C:\Users\username\Desktop\test folder"](\\|$)



ancestor:
Post Reply