filename
The name of your file can be most anything you like, as long as it is
one to eight alphanumeric characters, the first of which must be a
letter. (The only names you cannot use are TO, ON, USING and
OVER.)
/extension
If you want to further identify your file, you can give it a second name
by adding
an
extension.
An
extension (indicated by /ext on our
filespec) is a sequence of one to three alphanumeric characters (the
first of which must
be
a letter) with a preceding slash
(/).
You
Can
use an extension to provide additional information on a file,
or you can use
an
extension to indicate the type of file you have.
.
password
A password protects a file by limiting access to
it.
You can
accomplish this protection via a password either when you create the
file or with the ATTRIS command.
A password is a sequence of up to eight alphanumeric characters, the
first of which must be a letter.
:drive
Often when you're using your computer, you'll have more than one
disk drive
in
use. You can speed up the file access time by specifying
the drive the desired file is on.
If you omit a drive number on the filespec, your computer
automatically starts looking for the file on all available drives,
beginning with Drive
0.
Here are some examples of valid TRSDOS filespecs:
DOPROG.OPEN
CLR/SAS:1
MOD16:4
STL12ITXT.ARCH:1
GAME1
THESIS/OLD:2
CONTEMP:3
You cannot use TO, ON, OVER, or USING as TRSDOS filespecs.
Partspecs
Certain system commands and utilities allow you to specify a
collection of files by using a "partspec." A partspec is used with a
"wildcard" mask
($). When you use a wildcard
in
a partspec, it
represents a wildcard field and means "any character." For example,
suppose the following files exist on a disk in Drive 1:
1-8