unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (OSF1-V5.1-alpha)
Page:
Section:
Apropos / Subsearch:
optional field



mdir(1)								      mdir(1)



NAME

  mdir - mtools	utility	to display contents of a DOS directory

SYNOPSIS

  mdir [-w] msdosdirectory

  mdir [-w] msdosfile [msdosfile...]

OPTIONS

  -w  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 con-
  vention, 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 .mcwd 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:

  0   Success.

  1   Failure.

ENVIRONMENT VARIABLES

  The following	environment variables affect the execution of mdir:

  MCWD
      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

  $HOME/.mcwd
      Contains the name	of the current mtools working directory	as esta-
      blished by the mcd command.  If this file	does not exist,	the default
      mtools working directory is A:\.

  /usr/bin/mtools/mdir
      Executable file

SEE ALSO

  Commands: mcd(1), mtools(1)