Support for \\?\Volume{GUID}\

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

ghisler(Author) wrote:It depends on whether Windows returns any errors when trying to use these paths.
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?
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Internal cd command calls SetCurrentDirectory, which apparently fails for these paths.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

ghisler(Author) wrote:Internal cd command calls SetCurrentDirectory, which apparently fails for these paths.
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?

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
polle452
Junior Member
Junior Member
Posts: 32
Joined: 2013-10-09, 20:40 UTC

Post by *polle452 »

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
Post Reply