Technical data

Using Files and Directories
10.4 Getting File Information
The DIRECTORY command in this example lists all file types of the
AVERAGE file and the version number of each file. The command would
also list all versions of these files; however, only one version of each file exists.
2.
$ DIRECTORY/SIZE/DATE/VERSIONS=1/PROTECTION AVERAGE
Directory DISK$DOCUMENT:[MALCOLM]
AVERAGE.EXE;6 6 10-APR-2000 15:43 (RWED,RWED,RWED,RE)
AVERAGE.FOR;6 2 2-APR-2000 10:29 (RWED,RWED,RWED,RE)
AVERAGE.LIS;4 5 9-APR-2000 16:27 (RWED,RWED,RWED,RE)
AVERAGE.OBJ;6 2 9-APR-2000 16:27 (RWED,RWED,RWED,RE)
Total of 4 files, 15 blocks.
The DIRECTORY command in this example displays all the file types of
the AVERAGE file and the version number of each file. The /SIZE qualifier
displays the size of each file in blocks used. The /DATE qualifier displays
the creation date of the version of the file that is listed. The VERSIONS=1
qualifier limits the number of versions of the file displayed to one (the most
recent) version. The /PROTECTION qualifier displays the file protection for
each file.
3.
$ DIRECTORY/FULL/VERSIONS=1 [MALCOLM...]AVERAGE.EXE
Directory DISK$DOCUMENT:[MALCOLM]
AVERAGE.EXE;6 File ID: (4098,149,0)
Size: 36/36 Owner: [DOCUMENTATION,MALCOLM]
Created: 27-MAY-2000 12:22:26.30
Revised: 27-MAY-2000 12:22:51.35 (2)
Expires: <None specified>
Backup: 3-JUN-2000 22:03.09
Effective: <None specified>
Recording: <None specified>
File organization: Sequential
Shelved state: Online
File attributes: Allocation: 36, Extend: 36, Global buffer count: 0
No version limit
Record format: Variable length, maximum 255 bytes
Record attributes: Carriage return carriage control
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:RE, World:
Access Cntrl List: None
Total of 1 file, 36/36 blocks.
Directory DISK$DOCUMENT:[MALCOLM.TEST]
AVERAGE.EXE;1 File ID: (7714,29,0)
Size: 36/36 Owner: [DOCUMENTATION,MALCOLM]
Created: 15-APR-2000 10:12
Revised: 15-APR-2000 10:12 (1)
Expires: <None specified>
Backup: 15-APR-2000 22:41
1012 Using Files and Directories