Color Filters: Showing Mount Folders That Actually Have Mounted Drives
Color Filters: Showing Mount Folders That Actually Have Mounted Drives
I have a folder called DRIVES under which I have different subfolders that I use to mount external drives. At any time, only a few subfolders actually have external drives mounted under them. Is there a color filter expression that can indicate which of these subfolders actually have mounted drives? Or, is there any other way in XYplorer to see this?
Running on Windows 10 Pro 64-bit quad-core ASUS G752-VY notebook with 64 GB RAM, over 26 external USB3 drives attached via multiple powered hubs with letters and mount points, totaling 120+ TB.
Re: Color Filters: Showing Mount Folders That Actually Have Mounted Drives
There is even a default color filter for that...
attr:junction
One of my scripts helped you out? Please donate via Paypal
Re: Color Filters: Showing Mount Folders That Actually Have Mounted Drives
Ah, I forgot to mention that I am using that filter already but it does not distinguish between mount points with currently mounted drives and those with placeholders. For example, in folders that have been mount points previously, but not currently, XYplorer reports:
The system cannot find the path specified.
Volume(6f9b....)
I want a color filter that will not mark those folders, only the ones under which drives are currently mounted and accessible.
Running on Windows 10 Pro 64-bit quad-core ASUS G752-VY notebook with 64 GB RAM, over 26 external USB3 drives attached via multiple powered hubs with letters and mount points, totaling 120+ TB.
-
- Site Admin
- Posts: 60558
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Color Filters: Showing Mount Folders That Actually Have Mounted Drives
What do you get here in either case?
Code: Select all
exist "<path to folder...>";
FAQ | XY News RSS | XY Twitter
Re: Color Filters: Showing Mount Folders That Actually Have Mounted Drives
attr:junction AND prop:#HardLinks:1
or eventually
attr:junction AND prop:#HardLinks:>=1
Because for a non available mount, #HardLinks is "The system cannot find the path specified."
One of my scripts helped you out? Please donate via Paypal
Re: Color Filters: Showing Mount Folders That Actually Have Mounted Drives
So, there are 2 subfolders, MUSIC 7,8-BK and MUSIC 3,4-BK. Only the first subfolder has an external drive currently mounted under it. For that, exist reports:admin wrote: ↑07 Jul 2021 14:47 What do you get here in either case?Code: Select all
exist "<path to folder...>";
- Path: U:\DRIVES\MUSIC 7,8-BK
Real Path: U:\DRIVES\MUSIC 7,8-BK
ExistFile: False
ExistPath: True
ExistFolder: True
ExistItemFF: True
ExistPathFF: True
ExistPathOrFile: True
ExistPathOrFileShell: True
ExistIcon: True
IsNetworkLocation: False
GetDriveType: 3 (DRIVE_FIXED)
GetItemType: 2
GetFileAttributes: 0x411 (1041)
Owner: EARTH\Jerry
This path available in Tree: True
Current node available in Tree: True
Watchable: True
FilenamesCaseSensitive: False
Junction Target 0: Volume{e34f74e0-a50a-4545-a1c7-33fe8ff42e8c}\
Junction Target 1: U:\DRIVES\MUSIC 7,8-BK
Junction Target 2: U:\DRIVES\MUSIC 7,8-BK
IsMountPointVolume: True
MountPoint: U:\DRIVES\MUSIC 7,8-BK
- Path: U:\DRIVES\MUSIC 3,4-BK
Real Path: U:\DRIVES\MUSIC 3,4-BK
ExistFile: False
ExistPath: True
ExistFolder: True
ExistItemFF: True
ExistPathFF: False
ExistPathOrFile: True
ExistPathOrFileShell: True
ExistIcon: True
IsNetworkLocation: False
GetDriveType: 3 (DRIVE_FIXED)
GetItemType: 2
GetFileAttributes: 0x411 (1041)
Owner: EARTH\Jerry
This path available in Tree: True
Current node available in Tree: True
Watchable: True
FilenamesCaseSensitive: False
Junction Target 0: Volume{fac33afa-2e31-4a33-8638-120593920e9f}\
Junction Target 1: U:\DRIVES\MUSIC 3,4-BK
Junction Target 2: U:\DRIVES\MUSIC 3,4-BK
IsMountPointVolume: True
MountPoint: U:\DRIVES\MUSIC 3,4-BK
Last edited by Jerry on 07 Jul 2021 15:10, edited 1 time in total.
Running on Windows 10 Pro 64-bit quad-core ASUS G752-VY notebook with 64 GB RAM, over 26 external USB3 drives attached via multiple powered hubs with letters and mount points, totaling 120+ TB.
Re: Color Filters: Showing Mount Folders That Actually Have Mounted Drives
Running on Windows 10 Pro 64-bit quad-core ASUS G752-VY notebook with 64 GB RAM, over 26 external USB3 drives attached via multiple powered hubs with letters and mount points, totaling 120+ TB.
-
- Site Admin
- Posts: 60558
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Color Filters: Showing Mount Folders That Actually Have Mounted Drives
ExistPathFF seems to be the only difference!
I'm glad that highend's idea works.
I'm glad that highend's idea works.
FAQ | XY News RSS | XY Twitter