File_DelTree

Description

Deletes folder and all subfolders

 

Syntax

File_DelTree(sDir,bForce) As Boolean

 

Parameters

sDir (String)

Rootpath to be removed

bForce (Boolean)

Ignore attributes


Example

VBScript
If bStatus Then bStatus = File_DelTree("C:\CapaInstaller", True)

Scripting Guidelines

 

Related functions

File_CreateDirectory File_DelFile File_ExistDir File_ExistFile