filter to show only file/folder names with commas

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

User avatar
FrizzleFry
Platinum Member
Platinum Member
Posts: 1260
Joined: 2005 Oct 16, 19:09

filter to show only file/folder names with commas

Post by FrizzleFry »

How can I filter with Alt-H to only show folder names with commas (,)?

I tried *,* but that did not work.
Kilmatead
Platinum Member
Platinum Member
Posts: 4907
Joined: 2008 Sep 30, 06:52
Location: Baile Átha Cliath

Re: filter to show only file/folder names with commas

Post by Kilmatead »

Commas are escaped by an extra comma in Nikos' befuddled design noggin, so use: *,,*
User avatar
nikos
Site Admin
Site Admin
Posts: 16444
Joined: 2002 Feb 07, 15:57
Location: UK

Re: filter to show only file/folder names with commas

Post by nikos »

sorry about that, bad design decision from 2xExplorer days. Deskrule uses | that don't come naturally in filenames
Kilmatead
Platinum Member
Platinum Member
Posts: 4907
Joined: 2008 Sep 30, 06:52
Location: Baile Átha Cliath

Re: filter to show only file/folder names with commas

Post by Kilmatead »

By way of brief explanation, commas need escaping because a single comma is effectively an "or" separator for filters - so you could enter "foo,bar" and it would find names which have either "foo" or "bar" in them.

Useful, but a nuisance to remember when the water is quickly rising above your neck. :shrug:
User avatar
FrizzleFry
Platinum Member
Platinum Member
Posts: 1260
Joined: 2005 Oct 16, 19:09

Re: filter to show only file/folder names with commas

Post by FrizzleFry »

Thanks.

Using the comma as a separator is fairly common but I agree using the pipe symbol ('|') would be better.