[comp.sys.ibm.pc] Volume labels from MS-DOS function calls

tjones@killer.UUCP (Tim Jones) (08/01/87)

I need an algorithm for reading/writing the volume label of a diskette
from MS-DOS 2.11.

I *almost* know how to get the job accomplished with the use of function 
calls to examine the directory information at sectors 5-11, but I just
can't seem to make it work quite right.

I think this can also be done by using the "search for first match" 
function (0x4E).

If anybody has a C algorithm for doing this, I'd really appreciate a
copy, or if not, just some advice on how to write an effective one 
myself.

Thanks in advance,
Tim.

killer!tjones