1 DIRECTORY Displays the contents of the specified directory. Format DIRECTORY path-name 2 Parameter path-name Specification of the EFI$CP directory. Optional. 2 Description Displays the contents of the specified directory. 2 Qualifiers /FULL Displays detailed information. /SHOW /SHOW=keyword Determines the specifics of the files that will be selected for display. The default display specifically selects the user files for display, and is accordingly appropriate for nearly all uses. System files, hidden files, and directory structures not representing user files are not displayed by default. Keyword Results ALL Displays all types of directory file entries. DOTS Displays the dot and dot-dot directory entries that are present within all FAT subdirectories, but that are seldom displayed. HIDDEN Displays files that are marked as hidden files. SYSTEM Displays files that are marked as system files. VOLUME Displays the volume label entry. The following shows example directory output for a typical OpenVMS I64 directory. EFI$CP> dir dva0:\efi\vms\ Directory vms 3-NOV-2004 02:42:01.08 tools 3-NOV-2004 02:42:01.08 3127296 ipb.exe 3-NOV-2004 02:42:01.08 update 3-NOV-2004 02:42:01.03 838656 vms_loader.efi 3-NOV-2004 02:42:00.00 248832 vms_bcfg.efi 3-NOV-2004 02:42:01.06 227328 vms_set.efi 3-NOV-2004 02:42:01.08 224256 vms_show.efi EFI$CP> The following shows the default directory output for a sparsely- populated directory file, and particularly shows the string quoting needed as the target filename contains a space. EFI$CP> dir "dva0:\New Folder" Directory dva0:\New Folder 10-JUN-2003 15:36:01.83 New Folder EFI$CP> The following shows a brief-format output of all files present. You will notice that the Dot (.) and DotDot (..) directory entries found in all FAT subdirectories are now visible-while surprisingly not marked as hidden, these two directory entries are deliberately and explicitly masked by most FAT displays. EFI$CP> dir "dva0:\New Folder"/show=all Directory dva0:\New Folder 10-JUN-2003 15:36:00.23 . 10-JUN-2003 15:36:00.23 .. 10-JUN-2003 15:36:01.83 New Folder EFI$CP> The Dot (.) directory entry is an alias for the current directory; for the directory that contains the Dot entry. The DotDot (..) entry is an alias for the parent directory; for the directory that contains the current directory file. Dot and DotDot are required to exist in all subdirectories, and are further explicitly required to be absent from within the volume Master File Directory (MFD) of any FAT12 or FAT16 volume. The following shows more information. EFI$CP> dir "dva0:\New Folder"/show=all/full Directory dva0:\New Folder . Directory file Created at : 15-APR-2005 08:53:01.07 Modified at : 15-APR-2005 08:53:00.00 Last accessed at : 15-APR-2005 00:00:00.00 First Cluster : 0x00000003 File Attribute(s) : 0x00000010 : Directory File File 8.3 synonym : . .. Directory file Created at : 15-APR-2005 08:53:01.07 Modified at : 15-APR-2005 08:53:00.00 Last accessed at : 15-APR-2005 00:00:00.00 First Cluster : 0x00000000 File Attribute(s) : 0x00000010 : Directory File File 8.3 synonym : .. New Folder Directory file Created at : 10-JUN-2003 15:36:01.83 Modified at : 10-JUN-2003 15:37:00.00 Last accessed at : 10-JUN-2003 00:00:00.00 First Cluster : 0x00000003 File Attribute(s) : 0x00000010 : Directory File File 8.3 synonym : NEWFOL~1 EFI$CP>