Directory listing on Mac

Ned Konz ned at squeakland.org
Thu Mar 18 21:48:21 UTC 2004


On Thursday 18 March 2004 1:30 pm, Colin Putney wrote:
> On Mar 18, 2004, at 4:24 PM, Brian Murphy-Dye wrote:
> > I see that 'FileDirectory default directoryNames' returns an Array of
> > directory names located in the image directory. On a Mac OS/X system,
> > how do I find the directories in the '/Users' directory?
>
> Try something like
>
> (FileDirectory root directoryNamed: 'Users') directoryNames

No, the root is the parent of the volumes; 'Users' will be a subdirectory of 
one of those.

-- 
Ned Konz
http://bike-nomad.com/squeak/



More information about the Squeak-dev mailing list