Manual Page Result
0
Command: mcd | Section: 1 | Source: Digital UNIX | File: mcd.1.gz
mcd(1) General Commands Manual mcd(1)
NAME
mcd - mtools utility to change or report the DOS working directory
SYNOPSIS
mcd sdosdirectory]
DESCRIPTION
Without arguments, the mcd command reports the current device and work-
ing directory. Otherwise, the mcd command changes the current device
and current working directory relative to a DOS filesystem. Unlike the
DOS command CD, the mcd command can be used to change to another de-
vice.
The environment variable MCWD can be used to locate the file where the
device and current working directory information is stored. The de-
fault is $HOME/.mcwd. The file is created if it does not exist and a
msdosdirectory is specified.
DOS pathnames that contain the '/' or '\' separator are supported. If
you use the '\' separator or wildcards, you must enclose filenames in
quotes to protect them from the shell.
The mcd command supports the use of .. to move back one directory in
the tree, however, multiple relative moves such as the directory tree.
ENVIRONMENT VARIABLES
The following environment variables affect the execution of mcd: If
set, this variable names the file that contains the name of the current
mtools working directory as established by the mcd command. If this
variable is not set, the file $HOME/.mcwd is used.
NOTES
At logout time, it is advisable to remove old .mcwd files.
EXIT VALUES
The following exit values are returned: Success Failure
FILES
Contains the name of the current mtools working directory as estab-
lished by the mcd command. If this file does not exist, the default
mtools working directory is A:\. Executable file
RELATED INFORMATION
Commands: mdir(1), mtools(1)
delim off
mcd(1)