Eyeon:Script/Reference/Libraries/eyeon/removedir

From VFXPedia

Jump to: navigation, search


Contents

Usage

eyeon.removedir(string path)

  • path (string, required)

A string representing the path to the directory.


Returns

This function returns a boolean (true / false) value indicating if the function successfully removed the directory.


Remarks

The directory must be empty of files and subfolders, or else the function will return false. It does not matter if the final character in the path is a directory separator. The function will return the same result for the strings c:\test and c:\test\.


Requirements

  • eyeonScript 5.1

This is also available as a global function in eyeonScript 5.0


Examples




Tips for removedir (edit)

EyeonTips:Script/Reference/Libraries/eyeon/removedir