RemoveFolder
 
 
 

RemoveFolder

Introduced

v1.5

Description

Removes a folder and its contents.

Scripting Syntax

RemoveFolder( InputObjs );

Parameters

Parameter Type Description
InputObjs String Name of the folder to remove.

Examples

VBScript Example

dim clipFile
clipFile = Application.InstallationPath( siFactoryPath ) & "\Data\XSI_SAMPLES\Pictures\bottom_teeth.jpg"
const clipName = "MyClip"
' Create an image clip
CreateImageClip clipFile, clipName
' Create a folder named MyBMP_Clips
CreateFolder "Clips", "MyBMP_Clips"
' Move the clip under the new folder
MoveToFolder "Clips.MyBMP_Clips", "Clips." & clipName
'remove the folder along with the clip we just  moved
RemoveFolder "Clips.MyBMP_Clips"

See Also

CreateFolder MoveToFolder RemoveFromFolder