Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!tut.cis.ohio-state.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!news.funet.fi!uwasa.fi!ts From: ts@uwasa.fi (Timo Salmi) Newsgroups: comp.os.msdos.programmer Subject: Re: Can I read a subdirectory file ? Message-ID: <1990Dec31.183014.27114@uwasa.fi> Date: 31 Dec 90 18:30:14 GMT References: <14237@june.cs.washington.edu> <1990Dec28.174004.12184@cbnewsc.att.com> <1990Dec29.152859.25732@maytag.waterloo.edu> <1990Dec29.195859.28295@uwasa.fi> Organization: University of Vaasa Lines: 20 In article <1990Dec29.195859.28295@uwasa.fi> ts@uwasa.fi (Timo Salmi) writes: > >I don't quite understand this. Why can't one change the >subdirectory file attribute temporarily not to be directory, do >one's reading and change it back. Or to be on the safe side, copy >the file, change back and then browse the copied file. Turbo Pascal >at least should have the facilities to do this. I have to admit, >though, that this is partly guesswork on my part, since I have not >tried out exactly this procedure, but only something similar for a >slightly different purpose. (Of course it would be relatively easy >to test whether this is so, or not.) I have now tested this, and my guesswork was wrong. Simple as that. Turbo Pascal's SetFAttr won't properly reset a directory attribute even if it resets the others. ................................................................... 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