RmDir Statement [Runtime]/text/sbasic/shared/03020413.xhpRmDir statementRmDir Statement [Runtime]Deletes an existing directory from a data medium.Syntax:RmDir Text As StringParameters:Text: Any string expression that specifies the name and path of the directory that you want to delete. You can also use URL notation.If the path is not determined, the RmDir Statement searches for the directory that you want to delete in the current path. If it is not found there, an error message appears.Example:Sub ExampleRmDirMkDir "C:\Test2"ChDir "C:\test2"msgbox CurdirChDir "\"RmDir "C:\test2"end sub