I went through the logicaldisk wmi class and tried all of the
variables that I thought would apply, and none of them return the disk
number. Any other thoughts?
Mike
"CJ Taylor" <cege [ahh ttt] tavayn wooohooo hooo ohhh com> wrote in message news:<eI**************@TK2MSFTNGP10.phx.gbl>...
Check out the System.Management namespaces and get to know WMI. You'll be
looking for LogicalDisk queries.. its kinda like SQL for your computer.
-CJ
"mikeybe" <mi******@hotmail.com> wrote in message
news:41**************************@posting.google.c om... Anyone know how to return the disk number (i.e. the number you see
when you launch windows disk manager and see your drives numbered disk
0, disk 1, etc.)? I'm not talking about the volume serial number or
drive serial number. For example, I want to programatically determine
what disk number the c drive is using vb.net and windows 2000.
Thanks,
Mike Beccaria