Tandy 1000 MS-DOS Reference Manual page 153

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

Advertisement

[
I '
I
[:
"
I
I~
I
r-
L._
Chapter 6 / Comrnand Reference
Notes and Suggestions
• PATH gives you the option of using commands that are not in
the current directory. Suppose the root directory in Drive A
contains so many files it is difficult to use efficiently. To save
space, create the directory A: \ BIN (using MKDIR) and put
your commands there (using COPY). Then remove your com-
mands from the root (\) of Drive A (using DEL).
Now, suppose you start up MS-DOS and immediately format a
disk in Drive B. Because FORMAT is an external command,
you must do either of the following:
• Use CHDIR to make A: \ BIN your current directory.
• Use PATH to make MS-DOS search A: \ BIN for external
commands. You can specify A: \ BIN only, or you can specify
all directories on Drive A, separating them with semi-
colons. To specify
A: \
BIN only, type:
path a:\bin
I
ENTER J
Type PATH
I ENTER
I to verify the path setting.
Examples
path \bin\user\joe
I
ENTER
I
tells MS-DOS to search \BIN\ USER \ JOE in the current drive
for external commands (after it searches the current directory).
path bin\user\joe;\bln\user\sue;\bln\dev IENTERJ
tells MS-DOS to search the directories specified by the above
pathnames for external commands. MS-DOS searches the
current directory and then those in the path, in the order in
which they are listed.
pat h
;I
ENTER J
tells MS-DOS to search the current directory only.
pat h
I
ENTER
I
displays the current path setting.
139

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents