EasyManua.ls Logo

Commodore 128 - Drive Specifier; File Specification; Filename; Filetype

Commodore 128
448 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
NAMING A FILE
File Specification
CP/M identifies every file by a unique file specification. A file
specification can have four parts: a drive specifier, a filename, a
filetype, and a password. The only mandatory part is the
filename.
Drive Specifier
The drive specifier is a single letter (A-P) followed by a colon.
Each disk drive in your system is assigned a letter. When you
include a drive specifier as part of the file specification, you are
telling CP/M to look for the file on the disk currently in the
specified drive. For example, if you enter:
B:MYFILE nrrrnn
CP/M looks in drive B for the file MYFILE. If you omit the drive
specifier, CP/M 3.0 looks for the file in the default drive (usually
A).
Filename
A filename can be from one to eight characters long, such as:
MYFILE
A file specification can consist simply of a filename. When you
make up a filename, try to let the name tell you something about
what the file contains. For example, if you have a list of customer
names for your business, you could name the file:
CUSTOMER
so that the name gives you some idea of what is in the file.
Filetype
To help you identify files belonging to the same category, CP/M
allows you to add an optional one- to three- character extension,
called a filetype, to the filename. When you add a filetype to the
filename, separate the filetype from the filename with a period.
12-4

Table of Contents

Other manuals for Commodore 128

Related product manuals