1mcd(1) General Commands Manual mcd(1)
2
3
4
6 mcd - change MSDOS directory
7
8
9
11 This manpage has been automatically generated from mtools's texinfo
12 documentation, and may not be entirely accurate or complete. See the
13 end of this man page for details.
14
16 The mcd command is used to change the mtools working directory on the
17 MS-DOS disk. It uses the following syntax:
18
19 mcd [msdosdirectory]
20
21
22
23 Without arguments, mcd reports the current device and working direc‐
24 tory. Otherwise, mcd changes the current device and current working
25 directory relative to an MS-DOS file system.
26
27 The environmental variable MCWD may be used to locate the file where
28 the device and current working directory information is stored. The
29 default is `$HOME/.mcwd'. Information in this file is ignored if the
30 file is more than 6 hours old.
31
32 Mcd returns 0 on success or 1 on failure.
33
34 Unlike MS-DOS versions of CD, mcd can be used to change to another de‐
35 vice. It may be wise to remove old `.mcwd' files at logout.
36
38 Mtools' texinfo doc
39
41 This manpage has been automatically generated from mtools's texinfo
42 documentation. However, this process is only approximative, and some
43 items, such as crossreferences, footnotes and indices are lost in this
44 translation process. Indeed, these items have no appropriate represen‐
45 tation in the manpage format. Moreover, not all information has been
46 translated into the manpage version. Thus I strongly advise you to use
47 the original texinfo doc. See the end of this manpage for instructions
48 how to view the texinfo doc.
49
50 * To generate a printable copy from the texinfo doc, run the fol‐
51 lowing commands:
52
53 ./configure; make dvi; dvips mtools.dvi
54
55
56
57 * To generate a html copy, run:
58
59 ./configure; make html
60
61 A premade html can be found at `http://www.gnu.org/software/mtools/man‐
62 ual/mtools.html'
63
64 * To generate an info copy (browsable using emacs' info mode),
65 run:
66
67 ./configure; make info
68
69
70
71 The texinfo doc looks most pretty when printed or as html. Indeed, in
72 the info version certain examples are difficult to read due to the
73 quoting conventions used in info.
74
75mtools-4.0.27 16Apr21 mcd(1)