RMDIR Verb - Remove Directory

Syntax

RMDIR string{,ERR=lineref}

Description

For BBj-specific information, see the RMDIR Verb - BBj.

The RMDIR verb removes the specified directory.

Parameter

Description

string

Directory to be removed. It cannot be the current directory or a directory that contains files.

ERR=lineref

Branch to be taken if an error occurs during execution.

If the directory cannot be removed, PRO/5 takes the optional ERR= branch. Not all operating systems support multiple directories in the same manner. The RMDIR verb is primarily for utility use. See the MKDIR and CHDIR verbs for additional information.

Examples

1020 RMDIR "/USR/BBX/TEMP/",ERR=9500

See Also

Data Server Syntax

Verbs - Alphabetical Listing