Path: 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 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