Page 1 of 1

How to search a file inside a top level parent directory with unknown subdirectories between them?

Posted: Mon Nov 26, 2018 4:54 pm
by llagerlof
Eg:

c:\test\sub\file.txt

I can find this file typing:

test\sub\file.txt

sub\file.txt

But I can't find the file typing:

test file.txt

test\file.txt

So, if I only know the name of the top parent folder and the file, how to find this specific file? (assuming I don't know how many subdirectories exist between test and file.txt)

Re: How to search a file inside a top level parent directory with unknown subdirectories between them?

Posted: Mon Nov 26, 2018 5:07 pm
by llagerlof
Found a solution. Left here in case it helps someone in the future.

I typed:

test\ file.txt

(with a slash and space after the folder name)

Re: How to search a file inside a top level parent directory with unknown subdirectories between them?

Posted: Mon Nov 26, 2018 5:08 pm
by NotNull
With something like
c:\*\everything.exe


Related settings:
Menu:Tools > Options > Search : Match whole filename when using wildcards
Menu:Tools > Options > Search : Match path when a search term contains a path separator