Returns information on a file system volume.
DiskVolInfo(root-path, request)
(s) root-path specifies the root directory of a file system volume (i.e. "C:\" or "\\SERVER\PUBLIC\")
(i) request the request number for desired information.
(i), (s) or (b) return value depends on the request number specified. (see below).
Request |
Value |
1 |
(s) volume name |
2 |
(s) file system name (eg, "FAT" or "NTFS") |
3 |
(s) volume serial number (hex string; eg, "1234-ABCD") |
4 |
(i) volume serial number (decimal) |
5 |
(i) max length of filename component (portion between backslashes) |
6 |
(b) volume preserves the case of filenames when storing files |
7 |
(b) volume supports case-sensitive filenames |
8 |
(b) volume supports Unicode in filenames |
9 |
(b) volume preserves and enforces ACL's |
10 |
(b) volume supports file-based compression |
11 |
(b) volume is a compressed volume (eg, a DoubleSpace volume) |
Note: Request numbers which indicate a return type of "(b)" (Boolean) return a value of 1 (@TRUE) or 0 (@FALSE).
vol = DiskVolinfo("c:\", 1) Message("Volume name of drive C:", vol)