Gentee Programming Language > Documentation > Libraries | Download documentation |
Get the type of a disk.
uint getdrivetype( str drive )
drive The name of a disk with a closing slash. For example: C:\
Returns one of the following values:$DRIVE_UNKNOWN Unknown type. $DRIVE_NO_ROOT_DIR Invalid path to root. $DRIVE_REMOVABLE Removable disk. $DRIVE_FIXED Fixed disk. $DRIVE_REMOTE Network disk. $DRIVE_CDROM CD-ROM drive. $DRIVE_RAMDISK RAM disk.
![]() |
![]() Copyright © 2004-2006 Gentee Inc. All rights reserved. ![]() |