PATH + Searching a Specified PathInstructs DOS to search a specified path for programs not in
the current directory.
VERSION
PC-DOS 2.0+
MS-DOS equivalent: PATH (2.0+)
TYPE
Internal
SYNTAX
PATH [[d:]path[;[d:]path]]
OPTIONS
[d:] Specifies the letter of the drive(s) to
be included in the search path.
path Specifies the directory of path name(s)
to be included in the search path.
; Separates different drive letters and
path names to be included in the PATH
command statement.
PATH allows you to quickly access programs and batch files
that may be stored in other subdirectories, no matter what
directory you are in.
EXAMPLES
PATH C:\BUSINESS\REPORTS;\BUSINESS\INVOICES
instructs DOS to look first in the default subdirectory, then in
C:\BUSINESS\REPORTS, and then in C:\BUSINESS\INVOICES
to find programs or files.
PATH
displays the current subdirectory on the default drive.
BPATH A:\BUSINESS;A:\
instructs DOS to look first in the current subdirectory in drive
B and then in A:\BUSINESS and A:\.
MESSAGE
No path
No path has been defined for DOS to search. Use the PATH command
to specify a path.
UNDO
To reset the search path to no extended search path, enter
PATH ;
Designating a new PATH command supersedes an earlier PATH
command.
NOTE
You must specify each path completely. To have DOS search on
another drive, specify the drive designation.
------------------------------------------------------------------
[For related topics, press R]
SEE ALSO
AUTOEXEC.BAT File
APPEND Command
CHDIR Command
RMDIR Command
SET Command
TREE Command
file: /Techref/DOS/command/path.htm, 2KB, , updated: 1999/2/20 10:24, local time: 2024/11/8 16:06,
18.188.118.20:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/techref/DOS/command/path.htm"> DOS command path</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.