Support for \\?\Volume{GUID}\

English support forum

Moderators: Hacker, Stefan2, white, sheep

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

Post by *ghisler(Author) » 2018-05-18, 10:15 UTC

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
http://www.ghisler.com

User avatar
DrShark
Power Member
Power Member
Posts: 1111
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Post by *DrShark » 2018-05-18, 11:43 UTC

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?
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

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

Post by *ghisler(Author) » 2018-05-21, 07:16 UTC

Internal cd command calls SetCurrentDirectory, which apparently fails for these paths.
Author of Total Commander
http://www.ghisler.com

User avatar
DrShark
Power Member
Power Member
Posts: 1111
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Post by *DrShark » 2018-05-21, 10:40 UTC

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.
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

polle452
Junior Member
Junior Member
Posts: 16
Joined: 2013-10-09, 20:40 UTC

Post by *polle452 » 2018-05-21, 13:28 UTC

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