Automatic Directory Changes
The automatic directory change feature lets you change directories quickly
from the command prompt, without entering an explicit CD or CDD command.
To do so, simply type the name of the directory you want to change to at
the prompt, with a backslash [\] at the end. For example:
[c:\] CMD.EXE\
[c:\CMD.EXE]
This can make directory changes very simple when it is combined with
Extended Directory Searches or CDPATH. If you have enabled either of
those features, the command processor will use them in searching for any
directory you change to with an automatic directory change.
For example, suppose Extended Directory Searches are enabled, and the
directory WIN exists on drive E:. You can change to this directory with a
single word on the command line:
[c:\CMD.EXE] win\
[e:\win]
(Depending on the way Extended Directory Searches are configured, and the
number of subdirectories on your disk whose names contain the string WIN,
when you execute such a command you may see an immediate change as shown
above, or a popup window which contains a list of subdirectories named WIN
to choose from.)
The text before the backslash can include a drive letter, a full path, a
partial path, or a UNC name. Commands like "....\" can be used to move up
the directory tree quickly (see Extended Parent Directory Names).
Automatic directory changes save the current directory, so it can be
recalled with a "CDD -" or "CD -" command. For example, any of the
following are valid automatic directory change entries:
[c:\] d:\data\finance\
[c:\] archives\
[c:\] ...\util\os2\
[c:\] \\server\vol1\george\
The first and last examples change to the named directory. The second
changes to the ARCHIVES subdirectory of the current directory, and the
third changes to the UTIL\OS2 subdirectory of the directory which is two
levels "up" from the current directory in the tree.
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs