Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!usc!snorkelwacker!bloom-beacon!eru!luth!sunic!draken!d88-jwa From: d88-jwa@nada.kth.se (Jon Watte) Newsgroups: comp.sys.mac.programmer Subject: opendir() and readdir() Summary: want to search a directory Message-ID: <2618@draken.nada.kth.se> Date: 25 Dec 89 18:37:58 GMT Reply-To: h+@nada.kth.se (Jon W{tte) Organization: Royal Institute of Technology, Stockholm, Sweden Lines: 16 It's that time of the year again. I simply want to get the names of the files in adirectory. No, I am no novice to mac programming, but I've let libraries handle file I/O for me until now. I looked through IM IV, but the HFS chapter is less than crystal clear on this point... Now, how do I search {a | the current} directory for file names (and maybe types...) ? Any code pieces or hints are welcome ! h+@nada.kth.se -- -- Stay alert ! - Trust noone ! - Keep your laser handy ! --- h+@nada.kth.se == h+@proxxi.se == Jon Watte longer .sig available on request