Veröffentlicht 7. Juli 200322 j Hallo, ich gibt es eine Möglichkeit mit MS-Visual C++6 zu Überprüfen ob ein Laufwerk vorhanden ist? Hintergrund ist, dass ich nach meiner Partitionierung und Formatierung gerne prüfen möchte, ob C:\ erstellt wurde. Und zweitens möchte ich überprüfen ob ein Netzlaufwerk verbunden ist, bevor ich von dort ein Programm ausführe. Ein Beispiel wäre spitze, da mir momentan die Zeit drängt. Danke...
7. Juli 200322 j Versuchs mal mit GetDriveType() das hat folgende Rückgabewerte: DRIVE_UNKNOWN = The drive type cannot be determined. DRIVE_NO_ROOT_DIR = The root directory does not exist. DRIVE_REMOVABLE = The disk can be removed from the drive. DRIVE_FIXED = The disk cannot be removed from the drive. DRIVE_REMOTE = The drive is a remote (network) drive. DRIVE_CDROM = The drive is a CD-ROM drive. DRIVE_RAMDISK = The drive is a RAM disk. Gruß Guybrush
Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.