RMDIR

Removes a specified directory .Uses the operating system rmdir function. Returns 1 if successful in removing the directory; otherwise, it returns 0.

Format

RMDIR (path)

Arguments

 
path
Name of the directory to remove.

Examples

var set var=deldir int=(eval(RMDIR("/usr/people/foo")))