I want to display some folder tree, e.g.:
C:.├───Audio│├───Drivers││ RtlUpd64.exe││ USetup.iss│││└───InstallShield│ Rtkupd64.exe│└───Realtek Card Reader config.ini Display.ico revcon32.exe revcon64.exe Rmb.exe rmb.log RsCRIcon.dll RtsPer.inf RtsPer.sys rtsper64.cat SetEHCIKey.exe
However, from time to time, some subfolders have a large amount of files. How can I generate some folder tree with a limit on the maximum number of listed files for each subfolder? E.g., if a subfolder contains 1000 files, I only want to list 5 of them in the generated folder tree.
If that matters, I use Windows 10. I am aware of this Python script but I wonder whether there exists a more native solution.