RmDir Procedure

Applies to TestComplete 15.70, last modified on December 17, 2024

The RmDir procedure deletes the specified folder.

Declaration

RmDir(DirName) Parameters
DirName [in] Required String
Result     None  

Description

Deletes the subfolder specified by the DirName variable if this subfolder is empty and the specified path exists. If the specified folder is not empty, an error occurs.

Parameters

The procedure has the following parameter:

DirName

Specifies the variable which holds the path to the folder to be deleted.

See Also

DelphiScript - List of Supported Routines and Variables
ChDir
GetDir
MkDir

Highlight search results