Page 1 of 1

In drive list, display paths of subst drives

Posted: 2024-11-29, 19:07 UTC
by miroslav.vrlik
When I press Alt+F1, I see the following 2-column list of drives:

Code: Select all

C:  Windows
D:  Windows
E:  Windows
R:  Windows
But drives D:, E:, R: were created using subst command, or using its alternative which makes these drives permanent:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices]
"D:"="\\DosDevices\\C:\\SomePath1"
"E:"="\\DosDevices\\C:\\Some\\Path2"
"R:"="\\DosDevices\\C:\\Some\\Path\\3"
Could you please display these subst paths in list of drives instead of showing the Volume Label of their original drive? TC already displays their path in the second column in case of network drives.

Expected result after pressing Alt+F1:

Code: Select all

C:  Windows
D:  C:\SomePath1
E:  C:\Some\Path2
R:  C:\Some\Path\3

If there is no Windows API for this, you can at least pull it from the Registry location above, which is the official mean for creating persistent virtual drives.