Batch File: %%~fA Caracter Count
Posted on 2010-08-16
I need to make a batch file that will count the number of caracters in a FULL PATH.
FOR /F "delims=" %%A in ('dir /b /s T:\UsersDocuments\*.*') DO (
SET FileNumberOfCaractor=[command line to calculate the number of caracters in %%A]
IF FileNumberOfCaractor GTR 240 ECHO %%A>>FilesToLongList_%date%.txt
Thanks for your help,