tjones@killer.UUCP (Tim Jones) (08/12/87)
Well, I received a request for the solution I discovered about reading volume labels from C/Assembly, so here it is: Set the DTA to a 64 byte buffer. Define an XFCB in the sequence as follows: 0ffh ;sifnifies XFCB 5 zeroes(0) ;reserved space 8 ;attribute for volume label 0 ;default drive 11 question marks (?) ;wildcard filename/extension 25 zeros(0) ;space not used Call interrupt function 11h - if al = offh, no label, else the 64 byte buffer contains the name in bytes 8h-12h By the way, the preceding came from Advanced MS-DOS from Microsoft Press.