FANDOM


Syntax

DIRECTORY

DIR

(DIRECTORY word)

(DIR word)

Explanation

DIRECTORY outputs a list of file names on the disk in the currently selected disk drive.

If DIRECTORY is used with an input, it outputs the file names specified by its input. A drive specifier may be used to access a disk drive which is not currently selected. A ? may be used to match a single character except period and a * may be used to match a group of characters not including a period.

See also SUBDIR.

Examples:

? DIRECTORY

Result: [TEST.LGO TEXT.LGO JUNK.LGO LOGO.EXE LOGO.HLP]

? (DIRECTORY "\*.LGO)

Result: [TEST.LGO TEXT.LGO JUNK.LGO]

? DISK

Result: C

? (DIRECTORY "B\:)

Result: [HOUSE.LGO TROT.LGO HEAD.LGO]

?

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.