Product Documentation

ActivePython 2.4 Documentation

win32file.GetDriveType

int = GetDriveType()

Determines whether a disk drive is a removable, fixed, CD-ROM, RAM disk, or network drive.

Return Value

The result is one of the DRIVE_* constants.