The related question was dealing with searching for folders that didn't have a single specific file name. The code makes this simple test:
bIsValid = !objFSO.FileExists( strFolderPath + "\\" + SearchParms.FilenameCustomParm );
This wouldn't work with wildcards. Instead you need to use a different script, which is in the Sample Scripts folder:
C:\Program Files\Mythicsoft\FileLocator Pro\Sample Scripts\folder_doesnot_contain_regex.js
This matches each item in the folder with the regex specified in the Parms field and if it matches the folder is ignored.
