Mythicsoft Knowledge Base

Full Text Search
»

How to search for files with very long path names

RSS
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

Image

5. Run the search.
  Name Size
- Scripting_PathSize.png 9.48 KB

Mythicsoft KB powered by ScrewTurn Wiki. Some of the icons created by FamFamFam.