Getting array of folder names in a directory very slow

Xojo’s file recursion is notoriously slow in this regard (at least on Windows). Most folks use declares or MBS for this.

Take a look at this relatively recent thread: