Platforms to show: All Mac Windows Linux Cross-Platform
GetDriveTypeMBS(path as string) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
global method | Files | MBS Win Plugin | 12.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Path: The root directory for the drive.
Possible values:
0 | Unknown | The drive type cannot be determined. |
1 | Error | The root path is invalid; for example, there is no volume mounted at the specified path. |
2 | Removable | The drive has removable media; for example, a floppy drive, thumb drive, or flash card reader. |
3 | Fixed | The drive has fixed media; for example, a hard disk drive or flash drive. |
4 | Remote | The drive is a remote (network) drive. |
5 | CD-ROM | The drive is a CD-ROM drive. |
6 | RAM Disk | The drive is a RAM disk. |
See also IsOnRemoteVolumeMBS, IsEjectableVolume or DarwinMediaClassMBS for macOS.
Blog Entries
The items on this page are in the following plugins: MBS Win Plugin.