Rexx - rmdir Command



This command is used to remove a directory in the current working directory.

Syntax

rmdir dirname 

Parameters

  • dirname − The name of the directory which needs to be removed.

Return Value

None

Example

/* Main program */ 
rmdir Test

When we run the above program we will get the following result.

Output

When we run the above program, the directory called Test will be removed.
rexx_brexx.htm
Advertisements