EasyManua.ls Logo

Commodore PC 20 - Page 184

Commodore PC 20
494 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...
146
MS-DOS User's Reference
[
Dir (Directory)
The Dir switches
Dir
Purpose:
Lists
the
files
in
a directory.
Syntax:
dir
[drive: ][patbname][ Ip
][
Iw]
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
b:,
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
Iw
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
patbname
option:
Command
dir
dir
filename
dir.ext
Equivalent
dir
*.*
dir
filename. *
dir
*.ext
You may use
the
Ip switch and
the
Iw
switch
with
dir.
The
Ip 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
Iw
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."
[
[

Table of Contents

Related product manuals