handling a changing drive letter (windows)

Preface: I have a brain but am an utter windows newbie

On a windows 10 machine someone uses an external drive to sync. ‘Sometimes’ the mounted drive letter changes in the operating system, eg from D:\ to E:. The contents are the same obviously, including the Syncthing folder. (The reason for this is unknown to me, as the D:\ letter appears to be unused at the time of plugging in - and thereafter)

Apparently there is a way in windows to use volume-id’s using the syntax

\?\Volume{dead-beef-babe-0042}\photos_shared

As the circumstances with this aforementioned “someone” are very difficult, I’d rather check in advance if this works, and if it is a Good Idea or the opposite.

Thanks in advance,

Yeah, you can access volumes no problem like that.

I would suggest using mountvol.exe from the command line to get all the paths at once, e.g.

> mountvol.exe

Possible values for VolumeName along with current mount points are:

    \\?\Volume{59b12f28-6424-4c2b-85ae-f34ae80a7730}\
        *** NO MOUNT POINTS ***

    \\?\Volume{d9ab041c-7159-450a-ac2d-08344f856528}\
        C:\

Thank you very much tomasz!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.