From: PRANAV KANT GAUR on
How can we query the USB Device name that is assigned interactively by
users(e.g. any arbitrary name assigned by them,using 'rename' option through
GUI) ?
From: Tim Roberts on
PRANAV KANT GAUR <PRANAVKANTGAUR(a)discussions.microsoft.com> wrote:
>
>How can we query the USB Device name that is assigned interactively by
>users(e.g. any arbitrary name assigned by them,using 'rename' option through
>GUI) ?

In which GUI is one able to assign an arbitrary name to a USB device?
--
Tim Roberts, timr(a)probo.com
Providenza & Boekelheide, Inc.
From: PRANAV KANT GAUR on


"Tim Roberts" wrote:

> PRANAV KANT GAUR <PRANAVKANTGAUR(a)discussions.microsoft.com> wrote:
> >
> >How can we query the USB Device name that is assigned interactively by
> >users(e.g. any arbitrary name assigned by them,using 'rename' option through
> >GUI) ?
>
> In which GUI is one able to assign an arbitrary name to a USB device?
> --
> Tim Roberts, timr(a)probo.com
> Providenza & Boekelheide, Inc.
> .
In Windows Explorer,when user right clicks on device icon and selects
'rename' option.
From: Mike [MSFT] on
What you are actually renaming from Explorer depends on the device. If it
is a USB storage device then what you are renaming is the file system volume
and so you'd need to query for the volume and get the name off that. If it
is a portable device like a music player then you are actually renaming the
devnode and you can query the name from that.

-Mike

"PRANAV KANT GAUR" <PRANAVKANTGAUR(a)discussions.microsoft.com> wrote in
message news:A78A5E42-B500-4EC7-93B5-12211545F880(a)microsoft.com...
>
>
> "Tim Roberts" wrote:
>
>> PRANAV KANT GAUR <PRANAVKANTGAUR(a)discussions.microsoft.com> wrote:
>> >
>> >How can we query the USB Device name that is assigned interactively by
>> >users(e.g. any arbitrary name assigned by them,using 'rename' option
>> >through
>> >GUI) ?
>>
>> In which GUI is one able to assign an arbitrary name to a USB device?
>> --
>> Tim Roberts, timr(a)probo.com
>> Providenza & Boekelheide, Inc.
>> .
> In Windows Explorer,when user right clicks on device icon and selects
> 'rename' option.