$bool = Fs.IsFolder
Checks for the existence of a particular folder.
<folderName> The name of the folder to be checked.
Returns 1 if the folder exists, else returns 0.
- If full path is indicated, then it checks for the folder in that location.
- If only the folder name is mentioned then it checks for it in the current location containing the script.
$src = "C:\Plugins\Time"
$ret = fs.IsFolder ($src)