Well it gives the subdirectories on mine. It doesnt "scan" the subdirectories, but the you havent any code to do that, so you probably know that already.
You want to make it a function containing your repeat loop, that accepts a "dir handle" as its paramater (dir in you example), (Or just pass the path).
Then when you find a subdirectory, (pass the path or), Make it current, and pass that handle to itself. If you keep a Global in the function which keeps a track of how "deep" you are, you can print a tab indent as well
You want to make it a function containing your repeat loop, that accepts a "dir handle" as its paramater (dir in you example), (Or just pass the path).
Then when you find a subdirectory, (pass the path or), Make it current, and pass that handle to itself. If you keep a Global in the function which keeps a track of how "deep" you are, you can print a tab indent as well