*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> mcd (1)              



NAME    [Toc]    [Back]

       mcd  -  mtools utility to change or report the DOS working

SYNOPSIS    [Toc]    [Back]

       mcd [msdosdirectory]

DESCRIPTION    [Toc]    [Back]

       Without arguments, the mcd  command  reports  the  current
       device  and working directory.  Otherwise, the mcd command
       changes the current device and current  working  directory
       relative to a DOS file system.  Unlike the DOS command CD,
       the mcd command can be used to change to another device.

       The environment variable MCWD can be used  to  locate  the
       file where the device and current working directory information
 is stored.  The default is $HOME/.mcwd.   The  file
       is  created  if  it does not exist and a msdosdirectory is

       DOS pathnames 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

       The  mcd  command  supports  the  use  of to move back one
       directory in the tree, however,  multiple  relative  moves
       such  as  are not supported and do not affect your current
       position in the directory tree.

NOTES    [Toc]    [Back]

       At logout time, it is advisable to remove old files.

EXIT STATUS    [Toc]    [Back]

       The following exit values are returned: Success.  Failure.


       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.

FILES    [Toc]    [Back]

       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

SEE ALSO    [Toc]    [Back]

       Commands: mdir(1), mtools(1)

[ Back ]
 Similar pages
Name OS Title
mmd Tru64 mtools utility to make a DOS directory
mrd Tru64 mtools utility to remove a DOS directory
mattrib Tru64 mtools utility to change DOS file attribute options
mdir Tru64 mtools utility to display contents of a DOS directory
chdir Linux change working directory
cd IRIX change working directory
fchdir HP-UX change working directory
cd OpenBSD change working directory
cd HP-UX change working directory
cd IRIX Change working directory
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service