.ns
\\$1 .. .tr \(is' .tr \(if` .tr \(pd"
The \f(CWmcd command is used to change the mtools working directory on the MS-DOS disk. It uses the following syntax:
\fR\f(CWmcd [msdosdirectory\f(CW]
.lp
\fR
Without arguments, \f(CWmcd reports the current device and working directory. Otherwise, \f(CWmcd changes the current device and current working directory relative to an MS-DOS filesystem.
The environmental variable \f(CWMCWD may be used to locate the file where the device and current working directory information is stored. The default is \f(CW\(if$HOME/.mcwd\(is. Information in this file is ignored if the file is more than 6 hours old.
\fR\f(CWMcd returns 0 on success or 1 on failure.
Unlike MS-DOS versions of \f(CWCD, \f(CWmcd can be used to change to another device. It may be wise to remove old \f(CW\(if.mcwd\(is files at logout.
* To generate a printable copy from the texinfo doc, run the following commands:
./configure; make dvi; dvips mtools.dvi.lp \fR
* To generate a html copy, run:
./configure; make html.lp \fRA premade html can be found at \fR\f(CW\(ifhttp://www.gnu.org/software/mtools/manual/mtools.html\(is
* To generate an info copy (browsable using emacs' info mode), run:
./configure; make info.lp \fR
The texinfo doc looks most pretty when printed or as html. Indeed, in the info version certain examples are difficult to read due to the quoting conventions used in info.