Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!ames!zodiac!jtn From: jtn@zodiac.ADS.COM (John Nelson) Newsgroups: comp.sys.mac.programmer Subject: Trying to determine if a file is a file or a folder... Message-ID: <9725@zodiac.ADS.COM> Date: 8 Nov 89 15:42:45 GMT Organization: Advanced Decision Systems, Mountain View, CA 94043, (415) 960-7300 Lines: 24 Question: I'm using GetFile to iterate through all the files in a directory (or folder if you like) to process them. However, in order to do this I must distinguish between files and folders. Is there a way to tell (in an application) if a file is a file or a folder? There are some low-level PB routines but I'd hate to have to muck with the parameter blocks. If ncessary though I guess I'll have to. Any guidence? The Inside Mac and Mac Revealed books say absolutely nothing on the subject. An email reply would be nice... I can't keep up with this newgroups. Thanks! -- John T. Nelson UUCP: sun!sundc!potomac!jtn Advanced Decision Systems Internet: jtn@potomac.ads.com 1500 Wilson Blvd #512; Arlington, VA 22209-2401 (703) 243-1611