Avery Dennison 6035 Programmer Manual Rev.A 7/98 User Manual
Page 15

7/9/98
Using ROM-DOS 6.22 2-3
The File Name
Computer file names in the DOS environment consist of two parts
similar to a first name and last name.
The first part can be thought of as the primary file name:
name
You can give a file any name you want. The name can range from 1 to
8 characters in length and consist of any combination of letters,
numbers, and the following symbols: the underscore( _ ), the caret (^),
the dollar sign ($), the tilde (~), the exclamation point (!), the number
sign (#), the percent sign (%), the ampersand (&), the hyphen (-), the
braces ({ }), parenthesis (( )), the at sign (@), and the apostrophe (‘).
The Extension
The second part of the file name is called the extension:
ext
The extension can be from 1 to 3 characters long, with the same
character limitations as the name. An extension is not required.
When used together, the name and ext are separated by a period:
name.ext
This manual uses filename to refer to the name plus the ext if there is
one.
Extensions can be helpful in identifying the type of file. Commonly
used file name extensions include DOC for documents, DAT for data,
and TXT for text files.
You may use any extension you choose. However, certain extensions
have a special meaning to ROM-DOS and should only be used when
appropriate. These include .COM, .EXE, and .BAT. .EXE is used for
executable files. The .COM extension is for command files. The .BAT
extension is used for DOS instruction batch files.