🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Can I read a subdirectory file ?

#4038
From: Lea Fester
Date: Mon, 24 Dec 1990 07:45
13 lines
1128 bytes
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.)

Am I forced to go to the FAT to chase down the cluster chain doing
raw disk reads, or does someone know of a way to trick DOS into 
letting you read a subdirectory as a file ?  I'd like to have some
of the amenities of file-handling OS functions available for use,
if there were a way to trick DOS into treating a subdirectory like
a regular file.

LeaF
Technical Details
Message-ID: <14237@june.cs.washington.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!uw-beaver!uw-june!wolf.cs.washington.edu!fester

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!uw-beaver!uw-june!wolf.cs.washington.edu!fester
From: fester@wolf.cs.washington.edu (Lea Fester)
Newsgroups: comp.os.msdos.programmer
Subject: Can I read a subdirectory file ?
Message-ID: <14237@june.cs.washington.edu>
Date: 24 Dec 90 07:45:47 GMT
Sender: news@cs.washington.edu
Reply-To: fester@wolf.cs.washington.edu (Lea Fester)
Organization: Computer Science & Engineering, U. of Washington, Seattle
Lines: 13