EasyManua.ls Logo

Commodore PC - Dir (Directory)

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...
46
MS-DOS
User's
Reference
Dir
(Directory)
i
Dir
Purpose:
Lists
the
files
in
a
directory.
Syntax:
dir
[drive:]\patbname][/p][/w]
Comments:
If
you
just
type
the
dir
command
by
itself,
all
directory
entries
on
the
default
drive
are
listed.
If
you
include
a
drive
name
in
the
command,
such
as
&:,
all
entries
in
the
default
directory
of
the
disk
in
drive
B
are
listed.
If
you
include
a
filename
without
an
extension
(invoices,
for
example),
ms-dos
lists
all
files
named
invoices
in
the
default
directory
of
the
disk
in
the
default
drive.
When
you
use
the
dir
command
with
a
filename
and
drive
letter
(b-.invoices,
for
example),
ms-dos
displays
all
files
on
the
disk
in
drive
B
with
the
filename
invoices.
In
all
cases,
(except
when
using
the
/w
switch),
ms-dos
lists
files
with
their
size in
bytes
and
with
the
time
and
date
of
their
last
modification.
Note
that
the
following
dir
commands
are
equivalent,
since
you
can
use
the
wildcards
?
and
*
in
the
pathname
option:
Command
Equivalent
dir
Alt
filename
dir
.ext
dir
V
dir
filename.*
dir
*.ext
The
Dir
switches
You
may
use
the
/p
switch
and
the
/w
switch
with
dir.
The
/p
switch
used
with
dir
selects
page
mode.
It
also
makes
the directory
display
stop
scrolling
when
the
screen
has
filled.
To
resume
scrolling
the
display,
press
any
key.
The
/w
switch
selects
wide
display
and
causes
ms-dos
to
display
only
filenames
and
not
other
file
information.
The
wide
display
lists
up
to
five
files
per
line.
Note
that
if
the
country
command
in
the
config.sys
file
is
set
to
a
country
other
than
the
U.S.,
the
directory
date
and
time
formats
may
differ.
For
more
information
on
the
config.sys
file,
See
Appen
dix
B,
"How
to
Configure
Your
System."
U
u
{J
u
u
u

Related product manuals