For a more complex and comprehensicve WSH routine than what Eric mentioned you can see the one from Ed Rauh in the Fox Wiki:
http://fox.wikis.com/wc.dll?Wiki~WindowsScriptingHostHTH
>>>>>>>>>>>>
>I need a VFP routine/class/code that will parse or crawl through a directory structure and return all the subdirectory names within it. Returning the file names within each subdirectory would be ok too! The subdirectories may go to any number of levels.
>>>>>>>>>>>>