mcd—Change MS-DOS directory

mcd [ msdosdirectory ]

Without arguments, mcd will report the current device and working directory. Otherwise, mcd changes the current device and current working directory relative to an MS-DOS filesystem.

The environmental variable MCWD may be used to locate the file where the device and current working directory information is stored. The default is $HOME/.mcwd. Information in this file is ignored if the file is more than six hours old.

MS-DOS subdirectory names are supported with either the / or \ separator. The use of the \ separator or wildcards will require the directory name to be enclosed in quotes to protect it from the shell.

mcd returns 0 on success or 1 on failure.

If You Like What We Do Here On LinuxConcept, You Should Consider:

Stay Connected to: Twitter | Facebook

Subscribe to our email updates: Sign Up Now


We are thankful for your support.

Follow me