beautypg.com

Avery Dennison 6037 Rev. AA 3/04 Programmer Manual User Manual

Page 103

background image

ROM-DOS Internal Commands 4-61

R M D I R ( R e M o v e D I R e c t o r y )

Internal Command

The RMDIR command removes (deletes) a specified empty subdirectory.

Syntax

RMDIR [drive:][path]subdir

RD [drive:][path]subdir

subdir is the name of the subdirectory being deleted. Note that RD may
also be used.

Remarks

If no drive or path is specified, RMDIR looks for the specified

subdir

within (one level below) the current default directory. If a drive or path is
specified, everything specified must exist or ROM-DOS displays an error
message.

RMDIR does not remove a subdirectory unless it is empty. An error
message is displayed when you attempt to remove a subdirectory that
still contains files or other subdirectories.

Example

RD TOOLS

Removes the TOOLS subdirectory from the current directory, assuming
TOOLS is an empty directory.