This colors all children of folder as per the use manual (see last line example in quote)
This colors the folder itself
or
I can only say coloring Drives deviates from the normal behavior. Bear with my explanation.
From the manual (::rtfm "idh_colorfilters.htm#idh_cfname"):
Advanced filename patterns
You can as well color certain List items in specific directories by stating a pattern that will be matched against the full path of each item.
Rules:
If the pattern contains the character "\" then
it's treated against the full path (relative/portable syntax supported)
Else
it's treated against the file name (without path)
Examples:
... ...
C:\Windows\* -> matches all items that are located in C:\Windows\
According to this, "
C:\folder\*" matches all items that are LOCATED inside C:\folder\ , but not the folder itself , which happens in your case and which is the expected behavior. Use "
C:\folder\"
When it comes to Drives, "
C:\*" would "match" all items that are LOCATED in C:\ , but not the folder (here, drive C ) itself.
And "
C:*" would not color the drive either because
there's no "\" and the filter is not "treated against the full path" (but of course, there can be no file with C: in its name, and C: itself is a drive/dir, not a file).
As a result it would be impossible to color drives with existing coloring rules. So rules such as "
C:\*" color drives as well as its contents, even though it's not the normal behavior.
But remember, it's only my opinion and almost certainly not guaranteed to be hard fact.
edited: beautify, add link, misc repair work.