Hi Quaritexa, I've added a moi.filesystem.getDirs() method for the next v4 beta that will do this.
For v3 a method that you could try is doing something like a moi.filesystem.shellExecute( 'cmd.exe', '/C /Q dir c:\\ > c:\\scripts\\filename.txt' ) , that should run the dir command of the shell and output it to a file. Then you would need to parse the file.
- Michael
|