<-- Previous || Up || Next -->

Windows API Class

Public Property Get DRIVE_REMOVABLE() As Long

"Drive Type Is Removable"
The GetDriveType Function returns this value to indicate that the specified drive is a removable disk, such as a floppy disk, removable hard disk, or optical disk.

    Debug.Print "A is" & IIf(GetDriveType("A") = DRIVE_REMOVABLE), "", " NOT") & " a removable drive."
See also:
    GetDriveType Function
    DRIVEConstantToString Function
    DRIVE_REMOVABLE Define (Windows API)

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.