|
Previous Top Next |
Prototype: | (String pPath),Byte |
pPath | Path to the drive root. This can be a full file path. |
Returns | True or false depending on if the drive is a local drive or not |
This method checks if a drive is a local drive or not. A local drive is a fixed drive, removable drive, CD/DVD and RAM disk.
Example:
ITF ITFileClass
Code
If ITF.IsLocalDrive('c:\')
Message('C:\ is local drive')
Else
Message('C:\ is NOT local drive')
End
See also: