At URL: http://home.mnet-online.de/horst.muc/ you'll find:
LMOD (a 12 Kb download)
Versatile line/list modification tool to generate lists of commands, set variables to anything extracted from (DOS) output, and more.. Win NT/2000 compatible.
This will allow you to do something like:
Assuming that DIR C:\WINDOWS\*.TXT /O:N /-V will give me:
Volume in drive C is GOLDNEW_0-0
Volume Serial Number is 2834-1A0C
Directory of C:\WINDOWS
active~1 txt 31,215 16/01/2003 8:27 Active Setup Log.txt
brndlog txt 10,313 04/04/2003 23:41 brndlog.txt
config txt 17,643 23/04/1999 22:22 CONFIG.TXT
display txt 20,821 23/04/1999 22:22 DISPLAY.TXT
tips txt 12,668 23/04/1999 22:22 TIPS.TXT
wplog txt 0 13/11/2002 11:51 wplog.txt
29 file(s) 503,351 bytes
0 dir(s) 160,890,880 bytes free
Then
DIR *.TXT /O:N /-V|FIND "/"|LMOD /L* [1,8 R8].[10,3 R3] is [17,10 R10] bytes long, LFN is [47]
will give me:
active~1.txt is 31,215 bytes long, LFN is Active Setup Log.txt
brndlog.txt is 10,313 bytes long, LFN is brndlog.txt
config.txt is 17,643 bytes long, LFN is CONFIG.TXT
display.txt is 20,821 bytes long, LFN is DISPLAY.TXT
tips.txt is 12,668 bytes long, LFN is TIPS.TXT
wplog.txt is 0 bytes long, LFN is wplog.txt
Which, of course could br piped to a file via
DIR *.TXT /O:N /-V|FIND "/"|LMOD /L* [1,8 R8].[10,3 R3] is [17,10 R10] bytes long, LFN is [47]>>DLIST.TXT
The Lmod.txt file provided within LMOD.ZIP explains the use of LMOD in detail.
Baldy
(Of course the screen display is monospaced.)