win32file.GetDriveTypeW

int = GetDriveTypeW(rootPathName)

Determines whether a disk drive is a removable, fixed, CD-ROM, RAM disk, or network drive. (NT/2000 Unicode specific version).

Parameters

rootPathName : string

Return Value

The result is one of the DRIVE_* constants.