MDIR(1) General Commands Manual MDIR(1)NAME
mdir - display an MSDOS directory
mdir [ -w ] msdosdirectory
mdir [ -w ] msdosfile [ msdosfiles... ]
Mdir displays the contents of an MSDOS directory.
Mdir will allow the following command line option:
w Wide output. This option will print the filenames across the page without displaying the file size or creation date.
An error occurs if a component of the path is not a directory.
MSDOS subdirectory names are supported with either the '/' or '' separator. The use of the '' separator or wildcards will require the
names to be enclosed in quotes to protect them from the shell.
The mcd command may be used to establish the device and the current working directory (relative to MSDOS), otherwise the default is A:/.
SEE ALSO mcd(1)BUGS
Allows multiple arguments, which does not follow the MSDOS convention.
There is no /P (pause) option.
Check Out this Related Man Page
mdir(1) General Commands Manual mdir(1)NAME
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 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:.
The mdir command does not support the /P (pause) option.
The following exit values are returned: Success. Failure.
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.
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
Commands: mcd(1), mtools(1)mdir(1)
hi, i understand that rmdir will only remove direcotry when it is empty but are there options which will also remove non-empty directories? i went to man rmdir but only find the option -p? i am on solaris. thanks (2 Replies)
If I am root user, and trying to chown everything in a directory and it's subdirectories (e.g. httpdocs and everything inside that directory, including it's sub directories), how would I do that? I tried it with -r but it didnt seem to work...can someone help with the correct syntax?
Also, if I... (3 Replies)
We use a very basic version of unix via putty and are not experts by any means.
We accidentally submitted the statement: "mkdir -l" ("dash-letter L) and a new directory was created. Putty/UNIX will now not recognize the statement "rmdir -l". When we run a "ls -l" command, it shows... (3 Replies)
I have some files that appear to have no inode numbers. To complicate the matter, the filenames have UTF8 (I think) characters.
I am trying to delete them. In fact, and this might make things easier, I'm trying to delete their parent directory.
I don't know what to try next, please help.
... (5 Replies)
Im going insane trying to figure out what i consider a basic command on an SFTP server...
Im trying to download all files from a directory *done*
then remove all the files (and sometimes folders that contain files) i have downloaded on the remote directory...
the command i would normally... (2 Replies)