PC File Types and Access Capabilities
|
The PC file systems store certain information about a file in addition to storing information in the file. This information consists of:
|
•
|
number of bytes in the file
|
|
•
|
modification date and time
|
|
•
|
access capabilities: hidden, read-only, system
|
|
•
|
location on the disk of the file contents
|
The PC does not store a record length or a file type. It does have access capabilities, although they are different from the SRM access capabilities. The access capabilities are called "attributes" by the PC and may be changed by the PC ATTRIB command. They may also be changed by the HTBasic PROTECT command. The meanings of the attributes are:
|
Attribute
|
Meaning
|
|
hidden
|
the filename is not shown in a disk catalog, although the file is there
|
|
read-only
|
the file may be read, but not written or deleted
|
|
system
|
the file is a system file
|