Hello @Jonathan Woodward and @Sunny Qi ,
I am currently experimenting with the AppliesTo and DefaultAppliesTo registry commands, which I have just found out, based on the very few references in the registry. (Based off the "BitLocker" and the non-official "Take Ownership" entries)
I have pulled off quite a few interesting hat-tricks with these ones so far, such as mounting an ISO with DAEMON Tools by default, yet opening it as a regular folder inside an archive, with the use of TC4Shell (full Explorer integration for archives - off-topic, paid program - check it out), using RunAs as an option to also mount it with DAEMON Tools from within the archive. :p
Now, back to the topic ...
UPDATE: AppliesTo & DefaultAppliesTo DO NOT WORK at Directory Background locations‼ This includes Library backgrounds and such.
And so, I believe « NOT System.Kind:~Library » is the right command. I am unsure about Library backgrounds, and believe it is not feasible unless there IS another undocumented ID for this one.
I have experimented under the Folder key, with success on the Library folders. (Although I do not really need Library for my MODs, I have kindly tested it out for ya) - Again I am unsure about the Directory key, but you may feel free to experiment with the command I found out :p
I have found this command by guessing based on your input and that of others, yees the AppliesTo & DefaultAppliesTo commands are very interesting ones, but heavily undocumented :p
Goodbye! poof
The Egi-RaZoRZ.
Small but very worthy edit: My incompetence has no limits. Hah! Joke
While finding out about the "NOT System.Kind:~Library" entry, I've just noticed my «Open with...» duplicate also disappeared from my Folders. hehe. whoops =p
But then I remembered about them parentheses and it worked!
Thus, get this: New entry! ie. « AppliesTo: NOT (System.Kind:~Library) AND (System.Kind:~System.Kind#folder) » Note the parentheses added around entries.
Feel free to adjust according to your needs, I need to read the question again lol. Always glad to help for anything.
Kindly,
Egi
** EDIT: Added parentheses around System.Kind:~Folder