EasyManua.ls Logo

Commodore PC - Paths; Pathnames

Commodore PC
414 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...
16
MS-DOS
User's
Reference
This
organization
of
files
and
directories
is
not
important
if
you
work
only
with
files
in
your
own
directory,
but
if
you
work
with
someone
else,
or
on
several
projects
at
once,
the
multilevel
direc
tory
system
becomes
handy.
For
example,
you
could
get
a
list
1)
of
the
files
in
Emily's
forms
directory
by
typing the
following
command:
dir
\user\emily\forms
Note
that
a
backslash
(\
)
separates
directories
from
other
directories
and
files.
In
the
previous
example
the
first
backslash
includes
the
root
directory.
The
use
of
the backslash
alone
indi
cates
the
root
directory.
For
example,
the
following
command
displays
a
list
of
the
files
in
the
root
directory:
dir
\
To
find
out
what
files
Isabel
has
in
her
directory,
you
would
type
^^
the following
command:
dir
\u5er\i5abel
This
command
tells
ms-dos
to
travel
from
the
root
directory
to
the
user
directory
to
the
isabel
directory,
and
to
then
display
all
filenames
in
the
isabel
directory.
Paths
When
you
use
multilevel
directories,
you
must
tell
ms-dos
where
the
files
are
located
in
the directory
system.
Both
Isabel
and
Emily,
for
example,
have
files
named
sales,
may,
so
each
would
have
to
tell
ms-dos
in
which
directory
her
file
resides
when
she
wants
to
use
it.
This
is
done
by
giving
ms-dos
a
pathname
to
the
file.
U
Pathnames
A
pathname
is
a
sequence
of
directory
names
followed
by
a
i
\
filename.
Each
directory
name
is
separated
from
the
previous
one
^-""^
by
a
backslash
(
\
).
Using
pathnames
The
general
format
of
a
pathname
is
as
follows:
(
i
[
\
directoryname
]
[
\
directoryname...
]
\filename
U

Related product manuals