Path: utzoo!attcan!uunet!husc6!bloom-beacon!gatech!mcnc!rti!h-three!tom From: tom@h-three.UUCP (tom) Newsgroups: comp.sys.ibm.pc Subject: How do I open() DOS directories? Message-ID: <221@h-three.UUCP> Date: 17 May 88 19:54:00 GMT Organization: h-three Systems, Research Triangle Park, NC Lines: 15 I am writing a C program which needs to open a DOS sub-directory for both reading and writing. I am using MS-C 5.1. Whenever I try to open a sub-directory (whether for reading only or read/write) it always fails with errno set to "permission denied". These sub-directories had just been created by myself and a stat() prior to the open() showed that I had read/write permission. Is this just not allowed?!?!? Are there any lib. functions that I am overlooking that are used to open/modify directories? Thanks in advance for any help. Tom Neal mcnc!rti!h-three!tom h-three Systems Corp. RTP, NC