Thanks Herfried, that works for me.
Any idea how Windows Explorer determines the type of physical drive type
(like "DVD Drive" vs "CD Drive") to assign the node text when there is no
media in the drive?
Dean Slindee
"Herfried K. Wagner [MVP]" <hirf-spam-me-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> * "Dean Slindee" <(E-Mail Removed)> scripsit:
> > Once you've gotten a list of logical drives with
> > Directory.GetLogicalDrives, how would you get the name associated with
that
> > drive?
>
> \\\
> MessageBox.Show(Dir("C:\", FileAttribute.Volume))
> ///
>
> --
> Herfried K. Wagner [MVP]
> <URL:http://dotnet.mvps.org/>
|