Using Commands; File Commands; The Dir Command - Commodore PC Ms-Dos 3.2 User's Manual

Table of Contents

Advertisement

25
4 Using Commands
n
n
*
In this chapter you will learn:
■ How to use file commands
f
)
■ How to print files
■ How to use disk commands
n
File Commands
Using file commands
r\
You can use several ms-dos commands to manage your files. Some
of the more common commands are dir, copy, del, rename, and
f-N)
print
^^
Note
The following examples assume that drive A is the default
l)
drive.
f^
The Dir Command
If you want to find out what files are on a disk, you can list its
^
directory by using the ms-dos dir command. For example, to
(
*
display the directory of the disk in drive B, you would use the
following command:
n
dir
b:
[
theI... of the disk in drive B.
^ I directory...
If you use the dir command without a drive letter, ms-dos lists the
directory of the disk in the default drive.
\ -'
Example
Suppose you want to see how many files are in the directory of
Listing the MS-DOS
the MS-DOS disk in drive A. To display this directory you would
directory
simply follow these steps:

Advertisement

Table of Contents
loading

Table of Contents