Removes a directory.
ret = RmDir (DirString)
ret | Integer,output |
0 = OK | |
Non zero = Error | |
DirString | String, input |
This string contains the name of the directory to be removed. |
This is a PASSPORT command. This command is a Visual Basic command but is not implemented by VBScript.
Note: The target directory must be empty for this command to work without returning an error.
Example
Sub
ZMain()
RmDir "C:\Temp"
End Sub