The existsFolder function checks whether a folder object exists in the given path. The path can be an absolute/relative path. The relative path is relative to the process in which the script is executed.
Syntax
bExists = existsFolder(folderPath)
Arguments
Specifies the full/relative path of the folder whose existence must be verified.
Return Value
Returns true if the folder object exists or false if it does not.
Example
if(existsFolder(folderpath))
{
Process.mesg_folder = "Folder test exists";
}
else
{
Process.mesg_folder = "Folder test does not exist";
}
|
Copyright © 2014 CA.
All rights reserved.
|
|