Support for \\?\Volume{GUID}\
Moderators: white, Hacker, petermad, Stefan2
- ghisler(Author)
- Site Admin
- Posts: 48199
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This type of path isn't officially supported. It depends on whether Windows returns any errors when trying to use these paths.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
But why here on Vista 32-bit it works with %COMMANDER_EXE% /L=\\?\Volume{GUID_by_mountvol}\, and doesn't work with internal cd command? Maybe the reason is a different error handling for /L parameter and internal cd command?ghisler(Author) wrote:It depends on whether Windows returns any errors when trying to use these paths.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 48199
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Internal cd command calls SetCurrentDirectory, which apparently fails for these paths.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
In modern versions of Total Commander, the option OldStyleDir=0 is used by default which tells TC to use FindFirstFile to check for dir existence, but then it means this parameter is not applied to internal cd command?ghisler(Author) wrote:Internal cd command calls SetCurrentDirectory, which apparently fails for these paths.
Anyway, shouldn't even cd use FindFirstFile if last path character is not a slash (/) or backslash (\)?
I tried cd \\?\Volume{GUID_by_mountvol} (without last backslash), but it still doesn't work.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Try a Free Tool called USBDLM. This is a free portable program that can control drive letters by almost any criteria ie Volume Label=?, Device ID=?, Device Serial Number=? ... some 15+ options
[DriveLetters]
VolumeLabel=Backup?
Letter=U
This would fit for a VolumeLabels Backup1, Backup2 etc.
USBDLM works with XP, Vista, Windows 7, 8, 8.1, 10 and all the Windows Server versions. The x64 version works on x64 editions of Windows only.
I use it on Win7 and Win10 - works like a charm
http://www.uwe-sieber.de/usbdlm_e.html
[DriveLetters]
VolumeLabel=Backup?
Letter=U
This would fit for a VolumeLabels Backup1, Backup2 etc.
USBDLM works with XP, Vista, Windows 7, 8, 8.1, 10 and all the Windows Server versions. The x64 version works on x64 editions of Windows only.
I use it on Win7 and Win10 - works like a charm
http://www.uwe-sieber.de/usbdlm_e.html