Difference between revisions of "MC-Basic:DIR"
(Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= Dir {''<file>''} |AVAILABILITY= All versions |DESCRIPTION= This command lists files that exist on the RAM disk and on the Flash disk. ''<file…') |
|||
| (7 intermediate revisions by 4 users not shown) | |||
| Line 30: | Line 30: | ||
|LIMITATIONS= | |LIMITATIONS= | ||
| − | Read | + | Read only |
|EXAMPLE= | |EXAMPLE= | ||
| Line 38: | Line 38: | ||
|SEE ALSO= | |SEE ALSO= | ||
| − | * [[ | + | * [[MC-Basic:DIR$|DIR$]] |
| − | * [[ | + | * [[MC-Basic:DELETE|DELETE]] |
| − | * [[ | + | * [[MC-Basic:DELETE$|DELETE$]] |
| − | |||
| + | [[Category:MC-Basic:File Management|DIR]] | ||
}} | }} | ||
Latest revision as of 09:16, 22 May 2014
This command lists files that exist on the RAM disk and on the Flash disk. <file> may contain the * and ? wildcard characters to refine the list. The character * signifies any combination of letters, and the ? character signifies any letter. When invoked without a wildcard, all the files are listed.
The RAM disk is for used to store internal files (to which you do not have access), and stores the record data files (*.rec). The Flash disk stores the user programs (*.prg) and CAM files (*.cam). The contents of the Flash disk are preserved at power off, but the contents of the RAM disk are lost.
Syntax
Dir {<file>}
Availability
All versions
Scope
Terminal
Limitations
Read only
Examples
DIR ‘Returns all files on disk
Dir *.prg ‘Returns all files having extension PRG