| 11 July 2002 |
GetDrives() |
| Author | Lee Wilmott |
| Action | Returns an array of drives of a particular type. |
| Syntax | GetDrives ("drivetype" [,"delimeter"]) |
| Parameters | "drivetype" (Required / Numeric) Specifies the type of drive you want returned. Valid values are: -1 All drives, 0 Unknown drive type, 1 Removable media. ie. floppy drive, 2 Fixed drives, 3 Network drives, 4 CD-ROM drives, 5 RAM-Disk drives "delimeter" (Optional / String) An optional delimiter such as ":" or ":\". If not supplied, only the drive letters will be returned in the array. |
| Remarks | This is the second version of this function. I received some recommended suggestions from Mark "New Mexico" Hinsch to make this function more useful which I have now implemented. Many thanks to Mark. |
| Returns | This function returns a single array of drive letters. |
| Dependencies | None. |
| Examples | |
| Source | |