Index Index for
Section 1
Index Alphabetical
listing for M
Bottom of page Bottom of
page

mdel(1)

NAME

mdel - mtools utility to delete a DOS file

SYNOPSIS

mdel [-v] msdosfile [msdosfiles...]

OPTIONS

-v Specifies verbose mode. File names are echoed as they are processed.

DESCRIPTION

The mdel command deletes a file or files on an DOS file system. Unlike the DOS convention, multiple arguments can be specified. If a read only file is encountered, the mdel command queries whether or not to delete the file. Unlike the DOS convention, 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: 0 Success. 1 Failure.

ENVIRONMENT VARIABLES

The following environment variables affect the execution of mdel: 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 established by the mcd command. If this file does not exist, the default mtools working directory is A:\. /usr/bin/mtools/mdel Executable file

SEE ALSO

Commands: mcd(1), mtools(1)

Index Index for
Section 1
Index Alphabetical
listing for M
Top of page Top of
page