mdir - mtools utility to display contents of a DOS directory
mdir [-w] msdosdirectory
mdir [-w] msdosfile [msdosfile...]
Specifies wide output. Enables file names to be displayed
across the page without displaying the file size or creation date.
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 .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.
command can be used to establish the device
and the current working directory (relative to DOS), otherwise the default
command does not support the
The following exit values are returned:
The following environment variables affect the execution of
If set, this variable names the file that contains the name
of the current
working directory as established
command. If this variable is not set, the file
Contains the name of the current
working directory as established by the
this file does not exist, the default
Commands: mcd(1), mtools(1)