Re: sub-folders and file listing
Re: sub-folders and file listing
- Subject: Re: sub-folders and file listing
- From: JollyRoger <email@hidden>
- Date: Tue, 06 Feb 2001 09:29:47 -0600
on 2/6/2001 9:08 AM, Goodman, Steve at email@hidden wrote:
>
> what I would like returned is file1, file2, file3, file4, file5, file6
>
> without any of the subfolder names.
>
>
Here is a vanilla way of doing it with the finder:
>
>
tell application "Finder"
>
set thelist to name of every file of entire contents of (choose folder)
>
end tell
That may be vanilla, but it's not good advice. Be careful using "entire
contents". It's been broken for a long time. It will not return the
complete list of files.
JR