path-part: does not accept forward slashes (/)

Discussion related to "Everything" 1.5.
Post Reply
therube
Posts: 5722
Joined: Thu Sep 03, 2009 6:48 pm

path-part: does not accept forward slashes (/)

Post by therube »

just noting that

path-part: does not accept forward slashes (/)

path-part:c:/tmp
path-part:c:\tmp



and while we're here...

path-part: does not (necessarily) need the colon (:) if a volume is given

path-part:c\tmp
path-part:

or is that because of basename, so the 'c' is not treated (particularly) as a volume (though it may be)



but, if basename, isn't basename of c:\tmp, 'tmp'?
oh, but is says, "(without the basename)"
- so just what does that mean?

is that then c:\?
if basename = tmp, without tmp is c:\
but the highlight shows it is searching for c:\tmp ?
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: path-part: does not accept forward slashes (/)

Post by void »

path-part: does not accept forward slashes (/)
I have put on my TODO list to support forward slashes for path-part: (and other filename search functions)
Thank you for the suggestion.


path-part: does not (necessarily) need the colon (:) if a volume is given
The colon is required if you have ignore punctuation in filenames disabled (Search -> Ignore Punctuation)

path-part:c\tmp
will also match:
d:\some-folder-loc\tmp



I assume you have ignore punctuation enabled.
path-part:c\tmp will match c:\tmp
path-part:ctmp will match c:\tmp
Post Reply