langet@ecn-pc.UUCP (Timothy Lange) (10/23/85)
Hi! I am trying to get an assembler program running that will read the entries in a sub-directory. I am running on an IBM PC/XT that is using DOS 2.1. I have set up an extended FCB with the attribute byte set for system+readonly+directory permission. The DOS Technical manual says this will allow directories to be accessed. I am using function 0F to open the directory FCB after I stick the directory name in the name field. After opening, it gets the date of the directory stored and no errors are returned. I set the record size to 32 bytes and the current block and record to zero, I then try to read the directory file with function 14 but get error code for no data read. Anybody got any suggestions or pointers to help me figure out what I am doing wrong? Thanks in advance for all help. -- Tim Lange Engineering Business Offices 317-494-5338 Rm 120 Engineering Administration Bldg. Purdue University West Lafayette, IN 47907 {decvax|harpo|ihnp4|inuxc|seismo|ucbvax}!pur-ee!langet