Hide a particular drive in the tree

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
elqasar2
Posts: 239
Joined: 27 Oct 2017 14:04

Hide a particular drive in the tree

Post by elqasar2 »

Is there any way to prevent a particular drive from ever appearing in the tree (the full/normal tree, not the mini tree)?

Whenever I connect a card reader that is empty, I get a drive appear in the tree that I never want to see in XYplorer.

I've tried using Ghost Filter, by adding the drive letter on its own line like this:
J:

But when I connect the empty card reader, I still see this added to the tree:
USB Drive (J:)

There's a setting in XYplorer that does successfully hide it from the 'This PC' view in the list: uncheck 'Show hidden drives'. That causes XYplorer to hide it from the list just like File Explorer does for empty drives. File Explorer goes one step further and also hides empty removable drives from the tree. Unfortunately in XYplorer the setting doesn't appear to have any effect on the tree.
Last edited by elqasar2 on 25 Jan 2019 04:46, edited 2 times in total.

jupe
Posts: 2794
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Hide a particular drive in the tree

Post by jupe »

HideDrivesByLetter=J

for instructions on how to tweak:
https://www.xyplorer.com/faq-topic.php?id=tweak

elqasar2
Posts: 239
Joined: 27 Oct 2017 14:04

Re: Hide a particular drive in the tree

Post by elqasar2 »

Thank you, that appears to work nicely.

Post Reply