Returns information on the specified disk drive.
DiskInfo(drive-letter, request#)
(s) drive-letter a drive letter
(i) request# see below.
(i) information per request#
Request |
Value |
1 |
sectors per cluster |
2 |
bytes per sector |
3 |
number of free clusters |
4 |
total number of clusters |
spc = DiskInfo("c", 1) bps = DiskInfo("c", 2) bpc = spc * bps Message("Cluster size on drive C:", bpc)