Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!ames!ptsfa!ihnp4!cuae2!killer!tjones From: tjones@killer.UUCP (Tim Jones) Newsgroups: comp.lang.c,comp.sys.ibm.pc Subject: Volume labels from MS-DOS function calls Message-ID: <1264@killer.UUCP> Date: Fri, 31-Jul-87 21:59:55 EDT Article-I.D.: killer.1264 Posted: Fri Jul 31 21:59:55 1987 Date-Received: Sun, 2-Aug-87 09:45:22 EDT Organization: The Unix(tm) Connection, Dallas, Texas Lines: 18 Xref: mnetor comp.lang.c:3418 comp.sys.ibm.pc:6249 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