Recursive subfolder file scanning

Richard Gaskin ambassador at fourthworld.com
Fri Mar 28 22:32:01 EST 2003


David Kwinter wrote:

> I would like to specify a folder say:
> 
> /Macintosh HD/Users/davidkwi/
> 
> And have it identify all files with full paths, then in each folder,
> sub-folder, sub-sub-folder, etc. collect all paths for all files regardless
> of the depth of folders.
> 
> Resulting with something like:
> 
> /Macintosh HD/Users/davidkwi/Shared/song.mp3
> /Macinotsh HD/Users/davidkwi/Shared/desktoppic.jpg
> /Macintosh HD/Users/davidkwi/Pictures/Vacations/Whistler/mountain.tiff
> 
> I'm familiar with "the files" and "the folders" - the solution must be some
> kind of function which gets the files and folders for a starting directory
> then calls itself with each subfolder?

<http://www.google.com/search?as_sitesearch=lists.runrev.com&num=20&as_q=rec
ursive+folder+list>


-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.2: Publish any database on any site
 ___________________________________________________________
 Ambassador at FourthWorld.com       http://www.FourthWorld.com
 Tel: 323-225-3717                       AIM: FourthWorldInc




More information about the use-livecode mailing list