|
Previous Top Next |
Prototype: | (),LONG,PROC |
Returns | Returns number of logical drives. |
This method enumerates all logical drives that are local to the computer. This includes diskette drives, hard drives, CD/DVD drives, removable drives and remote mapped drives.
Example:
ITF ITFileClass
I Long
ITF.EnumLocalDrives()
Loop I = 1 To Records(ITF.LocalDrives)
Get(ITF.LocalDrives,I)
ITF.ODS('Drive: ' & Clip(ITF.LocalDrives.RootPath) &|
', Type = ' & ITF.LocalDrives.DriveType &|
': ' & ITF.GetDriveTypeString(ITF.LocalDrives.RootPath))
End
See also: