Hi Ron,
<br/><br/>I get an instance of UnixFileDirectory. &nbsp;And there are only 6 methods for UnixFileDirectory, none of them doing what I want.
<br/><br/>Sincerely,
<br/><br/>Joe.
<br/><br/><br/><br/><div class='shrinkable-quote'><br/>&gt; On May 25, 2016, at 2:43 PM, Ron Teitelbaum [via Smalltalk] &lt;<a href="/user/SendEmail.jtp?type=node&node=4897398&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt; wrote:
<br/>&gt; 
<br/>&gt; Hi Joe, 
<br/>&gt; 
<br/>&gt; The hardest part of FileDirectory is understanding default. 
<br/>&gt; 
<br/>&gt; So start with: FileDirectory default. 
<br/>&gt; 
<br/>&gt; Note that default is on the class side. &nbsp;Once you inspect that you are now 
<br/>&gt; on the instance side. &nbsp;Have a look at the categories #enumeration, #'file 
<br/>&gt; status', and #'file operations', and #'file name utilities' &nbsp; 
<br/>&gt; 
<br/>&gt; when you get a file from that instance you are no longer on FileDirectory. 
<br/>&gt; What class are the file entries? 
<br/>&gt; 
<br/>&gt; Let me know if that helps. 
<br/>&gt; 
<br/>&gt; All the best, 
<br/>&gt; 
<br/>&gt; Ron Teitelbaum 
<br/>&gt; 
<br/>&gt; 
<br/>&gt; 
<br/>&gt; &gt; -----Original Message----- 
<br/>&gt; &gt; From: [hidden email] [mailto:beginners- 
<br/>&gt; &gt; [hidden email]] On Behalf Of Joseph Alotta 
<br/>&gt; &gt; Sent: Wednesday, May 25, 2016 3:22 PM 
<br/>&gt; &gt; To: [hidden email] 
<br/>&gt; &gt; Subject: [Newbies] FileDirectory 
<br/>&gt; &gt; 
<br/>&gt; &gt; Greetings, 
<br/>&gt; &gt; 
<br/>&gt; &gt; I am looking for some documentation or snippets of code for using the 
<br/>&gt; &gt; FileDirectory class. 
<br/>&gt; &gt; 
<br/>&gt; &gt; I want to check if a file exists before I try to read it. 
<br/>&gt; &gt; 
<br/>&gt; &gt; I also want to look at a list of files in the directory. 
<br/>&gt; &gt; 
<br/>&gt; &gt; I did search SBE and google but found nothing. 
<br/>&gt; &gt; 
<br/>&gt; &gt; Sincerely, 
<br/>&gt; &gt; 
<br/>&gt; &gt; Joe. 
<br/>&gt; &gt; 
<br/>&gt; &gt; 
<br/>&gt; &gt; 
<br/>&gt; &gt; _______________________________________________ 
<br/>&gt; &gt; Beginners mailing list 
<br/>&gt; &gt; [hidden email] 
<br/>&gt; &gt; <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br/>&gt; 
<br/>&gt; _______________________________________________ 
<br/>&gt; Beginners mailing list 
<br/>&gt; [hidden email] 
<br/>&gt; <a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br/>&gt; 
<br/>&gt; 
<br/>&gt; If you reply to this email, your message will be added to the discussion below:
<br/>&gt; <a href="http://forum.world.st/FileDirectory-tp4897377p4897389.html" target="_top" rel="nofollow" link="external">http://forum.world.st/FileDirectory-tp4897377p4897389.html</a><br/>&gt; To start a new topic under Squeak - Beginners, email <a href="/user/SendEmail.jtp?type=node&node=4897398&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a> 
<br/>&gt; To unsubscribe from Squeak - Beginners, click here.
<br/>&gt; NAML
</div><br/>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://forum.world.st/FileDirectory-tp4897377p4897398.html">Re: FileDirectory</a><br/>
Sent from the <a href="http://forum.world.st/Squeak-Beginners-f107673.html">Squeak - Beginners mailing list archive</a> at Nabble.com.<br/>