Trying to search within specific file path folder returns zero objects (despite there being files)

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
xbunp
Posts: 1
Joined: Mon Jan 09, 2023 9:20 pm

Trying to search within specific file path folder returns zero objects (despite there being files)

Post by xbunp »

Weird thing I ran into today that I have not been able to solve.

Searching "D:\Unity Projects\ *.hlsl" lists all the HLSL files within that folder and its subfolders, as expected. But I only want hlsl files from another layer deeper. When I try to search that path, no results, nothing there, nada zip. I have tried to regenerate the file index, but it still doesn't find the folder or items.

The weird part is if I only search for PART of the path name, it DOES find it. While this is a hacky work around for now, I'd really like to understand the cause and reason and correct this behaviour.

Pictured are the three search terms returning weirdly.
Attachments
folderPaths.png
folderPaths.png (30.65 KiB) Viewed 837 times
void
Developer
Posts: 16680
Joined: Fri Oct 16, 2009 11:31 pm

Re: Trying to search within specific file path folder returns zero objects (despite there being files)

Post by void »

Space = AND

D:\Unity
AND
Projects\Share
AND
Experimentation
AND
2022\
AND
*.hlsl

A path separator (\) will match the term anywhere in the path and name.



Please try escaping spaces with double quotes:

"D:\Unity Projects\Share Experimentation 2022\" *.hlsl



-or-



Please consider enabling Match Path from the Search menu.

With Match Path enabled, searching for:

D:\Unity Projects\Share Experimentation 2022\ *.hlsl

will match the path and name.
Post Reply