- Aug
- 2,799
- 144
In regards to the new LARGEST command from the FileUtils plugin;
I especially like the /M: option,
allowing output to an array instead of STDOUT.
I can see where output to an array instead of STDOUT would be useful in other TCC commands.
Joe
I especially like the /M: option,
allowing output to an array instead of STDOUT.
Code:
U:\>largest /d /f /l /n:5 /z *.dll
1: 6.59M 2020-12-08 15:50:21 E:\utils\ChakraCore.dll
2: 3.86M 2017-08-09 18:53:34 E:\utils\harbour-34.dll
3: 1.52M 2006-11-29 09:19:24 E:\utils\XBScript.dll
4: 1.17M 2010-02-03 16:54:48 E:\utils\cmd.dll
5: 550,912 2024-11-03 20:46:05 E:\utils\AudioGenie3.dll
U:\>largest /d /f /l /m:test /n:5 /z *.dll
Copied 5 filenames to array TEST[5,3].
U:\>do kount=0 to 4 (do knt=0 to 2 (echo %TEST[%kount,%knt]))
E:\utils\ChakraCore.dll
6911880
2020-12-08 15:50:21
E:\utils\harbour-34.dll
4048648
2017-08-09 18:53:34
E:\utils\XBScript.dll
1597440
2006-11-29 09:19:24
E:\utils\cmd.dll
1228800
2010-02-03 16:54:48
E:\utils\AudioGenie3.dll
550912
2024-11-03 20:46:05
I can see where output to an array instead of STDOUT would be useful in other TCC commands.
Joe