[REBOL] Re: Aquiring sub-dir contents
From: ryanc:iesco-dms at: 4-Oct-2001 14:50
Does this do what you need?
get-sub-files: does [
files: copy 
foreach item read %. [ if dir? item [append files read item] ]
Donald Dalley wrote:
> Hi, REBOLs:
> Is there a small, simple method (or function) of getting just the file names
> within a set of sub-drawers? I am having trouble efficiently applying what
> little directory code there is, in the web database.
> The parent directory has a set of drawers named (-, A, B, C..., 1, 2, 3...),
> but the code should work universally with any name set. The goal, of course,
> is to get only the file names within the drawer set, not the drawer names.
> ---===///||| Donald Dalley |||\\\===---
> The World of AmiBroker Support
> UIN/ICQ#: 65203020
> To unsubscribe from this list, please send an email to
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.