Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mcd(1)

mtools(1)

mdel(1)  —  Commands

NAME

mdel − mtools utility to delete a DOS file

SYNOPSIS

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

FLAGS

-vSpecifies verbose mode.  Filenames are echoed as they are processed. 

DESCRIPTION

The mdel command deletes a file or files on an DOS filesystem.  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 filenames 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:\. 

ENVIRONMENT VARIABLES

The following environment variables affect the execution of mdel:

MCWDIf 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. 

EXIT VALUES

The following exit values are returned:

0Success

1Failure

FILES

$HOME/.mcwdContains 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/mdelExecutable file

RELATED INFORMATION

Commands: mcd(1), mtools(1)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026