how to find too long file names for Win 7

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
umapati
Posts: 12
Joined: 11 Aug 2011 13:40

how to find too long file names for Win 7

Post by umapati »

Is there a script for finding file names that are too long for Win 7, and automatically chopping off the end of the names?

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: how to find too long file names for Win 7

Post by highend »

Code: Select all

	// Create new tab
	#340;
	goto "?len: > 249 /r";

	$Result = report("{Path}\{Name}<crlf>");
	if ($Result != "") {
		text $Result;
	}
	else {
		msg "No files found.";
	}
	//Close search tab automatically
	#351;
But I don't think that headlessly chopping off file names is such a good idea...
One of my scripts helped you out? Please donate via Paypal

umapati
Posts: 12
Joined: 11 Aug 2011 13:40

Re: how to find too long file names for Win 7 Apologies

Post by umapati »

Sorry for this post. I've now looked more carefully at help file, and len: > 248 does all I need.

Post Reply