DirectoryExists Data Member Function

Returns true if the path such as 'C:\MyPath' exists on disk. Otherwise returns false.


int32 DirectoryExists( Node p_oNodeInModel, Str p_oPathToCheck )


Parameter Type Parameter Name Documentation
<Node>p_oNodeInModelA pointer to a <Node> in a document that has been saved at least once, which will be used to resolve the file path if it is relative. For example '..\myFolder\myPath' must be resolved to an absolute path such as 'C:\myFolder\myPath' before the existence of the directory can be checked.
<Str>p_oPathToCheckA string containing the folder to check. For example 'C:\myPath'.


Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.