(12-19-2024, 01:49 PM)SpriggsySpriggs Wrote: @mdjkens
Oooo, recursion! Do me a favor... Try running it on "C:\Program Files" or "C:\Program Files (x86)" for all file types and do a timer to see how long it takes to get all the files, not counting the printing of the file names. Oh, and print how many files were found. I want to see if it is faster than Steve's direntry.h or my simple one-line PowerShell command that kicked his ass.
2.5 seconds for 80,507 files and 14,164 folders (no printing)
just remarked all prints in mdDir.bas "C:\Program Files (x86)" /s
45y and 2M lines of MBASIC>BASICA>QBASIC>QBX>QB64 experience