Tandy 1000 MS-DOS Reference Manual page 61

Hide thumbs Also See for 1000 MS-DOS:
Table of Contents

Advertisement

Chapter 6 / Command Reference
CHDIR Change Directory)
CHDIR
[pathname]
CD
[pathname]
Internal
Changes the current, or home, directory of the specified drive to
the directory specified by pathname. CHDIR also verifies the
current directory.
Parameters
pathname specifies the directory that is to be the current direc-
tory. Pathname must be another directory on the current disk. If
you are changing the home directory of a disk other than the
current disk, you must specify the drive that contains the direc-
tory. Pathname must be another directory on that disk.
If you omit pathname, MS-DOS displays the pathname of your
current directory. This lets you verify a directory change or the
name of a directory should you forget.
Notes and Suggestions
• Changing directories before entering commands can save you
considerable time. When executing an application program,
you are likely to store your information in several data files in
the same directory. Therefore, it may be convenient to make
that directory your current directory.
Suppose you use a mailing list program to keep track of mag-
azine subscriptions. You might create 3 data files: one sorted
by your customers' last names, another by zip code, and
another by subscription expiration date.
You can store all three files in a directory called \ MAG-
MAIL. When running the program, make \ MAGMAIL your
current directory. Then you can quickly access and transfer
data between files.
• HARD DISK USERS: Because you are likely to store several
application programs on your hard disk, you may want to put
each in a separate directory (see MKDIR). For example, you
may want to store an accounts receivable program in a direc-
tory called \ AR. When you are ready to use the program, use
CHDIR to make \AR your current directory.
47

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents