Deletes a directory if it is empty.
Category: | String |
Returned data type: | Boolean |
rmdir(directory)
directory
specifies the directory to remove if it is empty
// Declare a string variable to contain the path to the directory to be created
string dir
dir="C:\DataQuality\my_data"
// Declare a Boolean variable for the MKDIR function call
boolean d
// Use the MKDIR function to create the C:\DataQuality\my_data directory
d rmdir(dir)