DIR examines a disk directory without interrupting the interactive TSP session.
DIR [ * or <filename> ] ;
Usage
DIR may be used in three different forms. The first,
DIR *
makes use of a wildcard specification, and produces a list of all files in your current directory with the extension .TSP. It is expected that the most frequent use of this command will be to locate files to INPUT.
The second form,
DIR filename
lists all files in the current directory that fit the description 'filename.*' . You may find it convenient to locate related input, output, and databank files in this way. 'Filename', however, must meet the requirements of a TSP variable name since it will be processed in the same manner. This means that no filename extension is possible (or needed) here.
The third form is the most flexible, and is simply the command with no arguments, prompting you for the file specification:
DIR
files: (computer response)
in response to which you may type anything you would ordinarily include with a DOS/Windows directory command. In this way you may specify directories other than the current, lists of files, other wildcard combinations, or even command qualifiers such as /date, /size, etc...