[comp.sys.ibm.pc.misc] toggling the subdirectory bit

devolder@matt.ksu.ksu.edu (Eric DeVolder) (10/19/90)

Hi all,
  Does anybody know how to effectively toggle the subdirectory attribute
bit on a DOS file?  I have tried unsuccessfully using INT 21h (I do not 
remember which function).  I do not get an error back from DOS, but the
bit does not toggle.  Yes, I am using the correct byte for the attribute
of the file with the subdirectory bit off.

  I want to be able to exam the contents of a subdirectory file and learn
more from it.  However, I need to toggle the subdirectory bit so I can
examine the file.

  Any help would be much appreciated.  

Eric