🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #4074

Re: Can I read a subdirectory file ?

#4074
From: Timo Salmi
Date: Sat, 29 Dec 1990 19:58
23 lines
1940 bytes
In article <1990Dec29.152859.25732@maytag.waterloo.edu> dmurdoch@watstat.waterloo.edu (Duncan Murdoch) writes:
>In article <1990Dec28.174004.12184@cbnewsc.att.com> vgopal@cbnewsc.att.com (venu.p.gopal) writes:
>>In article <14237@june.cs.washington.edu>, fester@wolf.cs.washington.edu (Lea Fester) writes:
>>! I'd like to read a subdirectory file as a file, but of course DOS
>>! won't Open a file with the directory attribute set, and neither can
>>! you change that attribute using the correct DOScall (so I can't
>>> temporarily reset and then set that attribute.)
... rest deleted ...

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.)

...................................................................
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
Technical Details
Message-ID: <1990Dec29.195859.28295@uwasa.fi>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!julius.cs.uiuc.edu!rpi!uupsi!sunic!news.funet.fi!uwasa.fi!ts
References: <14237@june.cs.washington.edu> <1990Dec28.174004.12184@cbnewsc.att.com> <1990Dec29.152859.25732@maytag.waterloo.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!julius.cs.uiuc.edu!rpi!uupsi!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: <1990Dec29.195859.28295@uwasa.fi>
Date: 29 Dec 90 19:58:59 GMT
References: <14237@june.cs.washington.edu> <1990Dec28.174004.12184@cbnewsc.att.com> <1990Dec29.152859.25732@maytag.waterloo.edu>
Organization: University of Vaasa
Lines: 23