"HardySpicer" <gy********@gmail.comwrote in message
news:12**********************************@i12g2000 prf.googlegroups.com...
Some pcs have only the c drive whilst others like mine have c,d,e,f
and z! How do I detect this automatically if I want to search all
drives in a pc? I also want to ignore the DVD and floppy of course.
regards
Hardy
Public Shared Function GetDrives() As System.IO.DriveInfo()
Member of: System.IO.DriveInfo
Summary:
Retrieves the drive names of all logical drives on a computer.
Return Values:
An array of type System.IO.DriveInfo that represents the logical drives on a
computer.
Remember that the object browser is your friend.
Hope this helps
Lloyd Sheen