Understanding Disk Files To List the Files on a Disk Drive The FDIRECTORY command lists all the files in a subdirectory (see Working with Subdirectories on page 43), along with information about each file's size, type, and creation date. After you enter the command: FDIRECTORY ↵ the output on the Monitor will look something like this: Directory of D: D 0 31-May-07 21:02:42 SYSTEM.CPY D 0 31-May-07 21:02:42 SYSTEM D 0 31-May-07 21:07:04 CALIB D 0 31-May-07 21:07:14 SPECDATA 27768/41744 sectors unused/total The following information is included in this display. l The first and second columns list the file name and extension (e.g., "SYSTEM.CPY").
l The third column lists the file size in disk sectors (each sector holds 512 bytes). l The fourth column lists special attributes of the file: P indicates that the file (and any programs it contains) is protected and cannot be modified or copied. D indicates that the entry is a subdirectory. R indicates that the file is read-only. l The last columns list the date and time the file was created or copied. l The final line of the display lists the total number of unused sectors on the disk and the total capacity of the disk. In this example, the disk drive has 27,768 sectors unused out of 41,744 sectors available on the disk.
Using Wildcards to List Groups of Files You can list specific groups of files using the wildcard character (an asterisk) and portions of a file name. The command: FDIRECTORY MY*.* ↵ will list only the files that begin with "MY". The command: FDIRECTORY *.V2 ↵ will list all the files with the extension "V2". The command: FDIRECTORY *Y*.* ↵ will list all the files that have a "Y" as the second character of the file name. (Note that in this case, the initial asterisk represents only one character, while the second and third asterisks represent zero or more characters.) eV+Operating System User's Guide, v2.x, 18320-000 Rev A Page 37