DIR

DIR afn

The DIR (directory) command causes the names of all files that satisfy the ambiguous filename afn to be listed at the console device. As a special case, the command

DIR

lists all files (the command DIR is equivalent to the command DIR *.*). The following are valid DIR commands:

DIR X.Y
DIR X?Y.C?M
DIR ??.Y

If no files on the selected disk satisfy the directory request, the message No user files appears at the console.