Access an USB memory stick regardless of the driveletter it got?
R.Wieser wrote:
Hello JJ,
While looking for possibilities to change the driveletter of my usb stick I
came across a reference to an on XP available program named "mountvol". It
can list, delete and link mountpoints to drive letters. I think I'm going
to try that one first (my own code would probably just use the same
functions). :-)
For changing anything you need admin previleges.
If you can convince the admins to install USBDLM
you can let mount you drive into an NTFS folder
using a fixed name, the device's friendly name,
the volume label or anything else.
Uwe
Regards,
Rudy Wieser
-- Origional message:
JJ schreef in berichtnieuws
...
On Sat, 14 Feb 2015 20:29:27 +0100, R.Wieser wrote:
Well .... If I you're presenting me a choice I would take the
volume-label,
as I can pick/change that one myself & fairly easily. :-)
It's not possible using the volume label, unfortunately. When a file path
is
given, the system uses the volume GUID to refer the volume that were
assigned to a drive letter. Moreover, a FAT/NTFS volume label is
technically
a file, so there's no way to access a file without knowing the volume
location first.
I googled and found a code-example to how to change the drive letter,
which
I have not tested yet, but I already get the feeling that that will bump
into the same "admin activity" restrictions too ...
I'm guessing your Windows user account is not a member of the
Administrators
group?
|