Path: utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!usc!snorkelwacker!bloom-beacon!eru!hagbard!sunic!news.funet.fi!uwasa.fi!ts From: ts@uwasa.fi (Timo Salmi LASK) Newsgroups: comp.lang.pascal Subject: Re: Find directories only? Message-ID: <1990Sep13.105233.6636@uwasa.fi> Date: 13 Sep 90 10:52:33 GMT References: <1550.26efc4ed@waikato.ac.nz> Organization: University of Vaasa Lines: 14 In article <1550.26efc4ed@waikato.ac.nz> iam@waikato.ac.nz writes: >I am wondering if people know of some easy way to pick out directories in >Turbo Pascal 5.5? >I tried FFirst and FNext as specified in the manual but they also get files as >well as directories. If you look at the documentation more closely you will discover that you can test for the file type. Do as you did but pick only files that have the directory attribute set. ................................................................... Prof. Timo Salmi (Moderating at anon. ftp site 128.214.12.3) School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun