RmDir Statement

Removes an empty subdirectory from a controller disk drive.

Syntax
Rmdir dirName

Parameters

dirName
Specify the path and name of the directory to be deleted as a string expression. If the directory name is specified without a path, then the subdirectory in the current directory is specified. See ChDisk for the details of path.

Description
Removes the specified subdirectory. Prior to executing Rmdir all of the subdirectory's files must be deleted.

The current directory or parent directory cannot be removed.

When executed from the Command window, quotes may be omitted.

Note


This function is executable only with the PC disk.


Rmdir Statement Example
Example from the command window:

> RmDir \mydata