DRIVETYPE()
From Lianjapedia
Contents
Purpose
Function to return the type of the specified Windows drive
Syntax
DRIVETYPE(<expC>)
See Also
GETENV(), GETGID(), GETPID(), GETREMOTEADDR(), GETREMOTEHOST(), GETREMOTEUSER(), GETUID(), JUSTDRIVE(), LOCALE(), OS(), SYS(), VERSION()
Description
The DRIVETYPE() function returns a number indicating the type of the specified drive.
Return Value | Drive Type |
---|---|
1 | No type / unknown. |
2 | Removable drive. |
3 | Hard disk. |
4 | Network drive. |