Seymour Clufley wrote:
I had a look in PureArea and found this
but that simply loops through all the files with NextDirectoryEntry
Actually, that's pretty fast (once you delete the recursion into subfolders of it).
Or maybe populate an (invisible) ExplorerListGadget() with your path and count its files:
Repeat : Until WaitWindowEvent()=#PB_Event_CloseWindow