1. Save the following JScript to a text file:
// Script for finding files which have a file path over a certain limit
var nMaxSize = parseInt( SearchParms.FilenameCustomParm );
function isValidFileName( strPath, strFileName )
{
return ( strPath.length + strFileName.length ) > nMaxSize;
}
2. In FileLocator Pro go to the Scripting tab
3. Activate the 'File name' script and point to the text file saved in step 1.
4. In the 'Custom' field enter the length of the path for which you're trying to find all files over, e.g. 240

5. Run the search.