View Single Post
  #6  
Old February 15th 15, 04:11 PM posted to microsoft.public.windowsxp.help_and_support
R.Wieser
external usenet poster
 
Posts: 1,302
Default Access an USB memory stick regardless of the driveletter it got ?

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). :-)

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?



Ads