RD | RMDIR Command

Example   See Also

Removes a directory or folder from disk.

Syntax

RD cPath | RMDIR cPath

Arguments

cPath

Specifies the name and location of the directory or folder to remove from disk.

Remarks

Visual FoxPro generates an error message if you attempt to remove a directory or folder that is not empty.