Directory listing on Mac

Brian Murphy-Dye brian.murphydye at mac.com
Thu Mar 18 21:36:13 UTC 2004


When trying this, #() is returned. The problem seems to be that a 
MacHFSPlusFileDirectory is returned, which wants to use an older 
directory structure [FileDirectory pathNameDelimiter returns $: instead 
of $/].


On Mar 18, 2004, at 4: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
>
>




More information about the Squeak-dev mailing list