RemoveFolder

導入

v1.5

詳細

フォルダとその内容を削除します。

スクリプト構文

RemoveFolder( InputObjs );

パラメータ

パラメータ タイプ 説明
InputObjs 文字列 削除するフォルダの名前

VBScript の例

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"

関連項目

CreateFolder MoveToFolder RemoveFromFolder