Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mcd(1) [bsd man page]

MCD(1)							      General Commands Manual							    MCD(1)

NAME
mcd - change MSDOS directory SYNOPSIS
mcd [ msdosdirectory ] DESCRIPTION
Without arguments, mcd will report the current device and working directory. Otherwise, mcd changes the current device and current working directory relative to an MSDOS 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 6 hours old. MSDOS 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. SEE ALSO
mdir(1) BUGS
MSDOS doesn't use CD to change to another device. It may be wise to remove old .mcwd files at logout. local MCD(1)

Check Out this Related Man Page

mdir(1) 						      General Commands Manual							   mdir(1)

NAME
mdir - mtools utility to display contents of a DOS directory SYNOPSIS
mdir [-w] msdosdirectory mdir [-w] msdosfile [msdosfile...] OPTIONS
Specifies wide output. Enables file names to be displayed across the page without displaying the file size or creation date. DESCRIPTION
The mdir command lists the contents of a DOS directory. Unlike the DOS convention, multiple arguments are supported. If the component of the path is not a directory, an error occurs. The mdir command assumes a new disk if the current path held in the file is invalid. DOS subdirectory names that contain the '/' or '' separator are supported. If you use the '' separator or wildcards, you must enclose file names in quotes to protect them from the shell. The mcd command can be used to establish the device and the current working directory (relative to DOS), otherwise the default is A:. RESTRICTIONS
The mdir command does not support the /P (pause) option. EXIT STATUS
The following exit values are returned: Success. Failure. ENVIRONMENT VARIABLES
The following environment variables affect the execution of mdir: If set, this variable names the file that contains the name of the cur- rent mtools working directory as established by the mcd command. If this variable is not set, the file $HOME/.mcwd is used. FILES
Contains the name of the current mtools working directory as established by the mcd command. If this file does not exist, the default mtools working directory is A:. Executable file SEE ALSO
Commands: mcd(1), mtools(1) mdir(1)
Man Page