DiskInfo

Returns information on the specified disk drive.

Syntax:

DiskInfo(drive-letter, request#)

Parameters:

(s) drive-letter a drive letter

(i) request# see below.

Returns:

(i) information per request#

 

Request

Value

1

sectors per cluster 

2

bytes per sector 

3

number of free clusters 

4

total number of clusters 

 

 

Example:


spc = DiskInfo("c", 1)
bps = DiskInfo("c", 2)
bpc = spc * bps
Message("Cluster size on drive C:", bpc)
See Also:

DiskVolInfo, DiskSize, DiskScan, FileSize