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)
Check Out this Related Man Page
mrd(1) General Commands Manual mrd(1)NAME
mrd - mtools utility to remove a DOS directory
SYNOPSIS
mrd msdosdirectory [msdosdirectories...]
DESCRIPTION
The mrd command removes a directory from a DOS file system. If the directory is not empty, an error occurs. Unlike DOS conventions, this
command allows multiple arguments.
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:.
EXIT STATUS
The following exit values are returned: Success. Failure.
ENVIRONMENT VARIABLES
The following environment variables affect the execution of mrd: 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
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), mmd(1), mtools(1)mrd(1)
Me again,
What is the difficulty to display the full directory Path before my prompt command ? (like DOS)
I'm using Solaris 8 + Bash
Thanks again
Fabien (4 Replies)
Hi--
I'm trying to use the cp command, and I keep getting there is no such directory. But I've checked, and the directory is certainly there.
Please keep in mind this is OS X, 10.4.4 to be exact.
Here's my output:
myuser$ cp -r "/Firewire 400/users/myuser/new Files/Flip4Mac WMV.mpkg"... (7 Replies)
Hi all,
find command not working for me in a perticular directory.The same command is working fine in any other directory.
Following is the command i issued:
find . -type f -print
my question is , is it possbile to disable a command only for a perticular directory ??...of course... (4 Replies)
Hi,
I have installed opensolaris 10 in VMware. Everything is fine except ls command is not working. It is not displaying any files and directories. Sorry if the question is soo trivial. (8 Replies)
Hi Experts,
I tried to stay away from posting stuff here and asking for help.
I want to print date valeu for a given variable and that is not working.
#!/bin/bash
START=`echo $1 | tr -d _`;
FV=`echo $2`
for (( c = 0 ; c < $FV ; c++ ))
do
# echo -n "`date --date="$START +$c day"... (12 Replies)
I use du -sk command to find the size of the directory but when i use the result of 'du -sk' into if statement its throwing error.. Could u solve with this..? (14 Replies)
Hello
Where is there a good source to receive an understanding of MS DOS.
I have tried google books " MS DOS ", no luck.
i did try " command prompt " , no luck.
the subject " seems " to be dry. no water flowing in that creek.
what would be good search terms.
I would like to aim towards the... (6 Replies)
Hi!
hi
I used find command to find some file names as per input from user. I used it for current directory. It was working fine. Now I tried with giving some other directory path. Its giving issues.
Here what I tried. Script will take input from user say 1_abc.txt, find the file and print... (6 Replies)
Greetings :)
Got a basic one to muddle through tonight; and hoping for a smidgen of help 'long the way ;)
Here 'tis:ls ./dir1/ | grep -i .jpg | xargs cp -f ./dir1/$1 ../../dir2/$1Simple enough; and to this amateur eye, it looks like things should work pretty well. But, of course, it tanks... (10 Replies)
Hi Folks -
I was wondering if you could help convert batch code in Linux? For instance, I use the following piece of code in DOS to find a file/executable, and then the FULL path as a variable.
::-- If startMaxl.exe exists, set full path --::
for %%D in (c d e f g h i j k l m n o p q r s t... (4 Replies)
i read here that linux provides no way to determine when a directory was created.
https://www.unix.com/shell-programming-and-scripting/157874-creation-date-directory.htmlI have a directory /home/andy/scripts that had a README file in it.
That file says
I put the script in that directory and... (3 Replies)