//search all floppy,cd and hard disk drives available in our PC
//its varies from system to system
for(char Ch='A';Ch<='Z';Ch++) { string Dir = Ch + @":\"; if (Directory.Exists(Dir)) {
disksListBox.Items.Add( Ch+ @":" ); //Add into ListBox
}
}
SEARCH ALL FLOPPY,CD AND HARD DISK DRIVES
Posted by
Geeks
Labels:
C#
Subscribe to:
Post Comments (Atom)
Post a Comment