|
|
New Features of MPE/iX: Using the Hierarchical File System: 300 MPE/iX Computer Systems > Chapter 7 Managing FilesDetermining File Types |
|
Before you try to work with a file created using HFS syntax, you may need to determine what type of file it is. Use the LISTFILE command with the ,2 option to list compete information about a file. The TYP field indicates the type of file it is and whether it is a directory. Using LISTFILE, 2 produces output such as the following:
The TYP field uses letters to represent types of files. In the example shown here, the TYP field contains GBD indicating that it is a group directory. Table 7-2 defines letter codes that can appear in the TYP field. Table 7-3 File and Directory Types
|
|