<< Click to Display Table of Contents >> RmDir (statement) |
RmDir Path
Removes the given folder.
The parameter must contain the folder path in the notation DriveLetter:Folder.
See also: ChDir, ChDrive, CurDir, Kill
Example:
Sub Main
Dim dirName As String
dirName = "t1"
MkDir dirName
MkDir "t2"
MsgBox "Folders t1 and t2 were created. Click on OK to remove them."
RmDir "t1"
RmDir "t2"
End Sub