VOLNUM.ZIP Jay Parsons, CIS 70160,340 Dated: March 2, 1993 Version: 1.1 Enclosed are these files: Volnum.asm source code for a dBASE .bin to read disk volume label or ID number. Volnum.bin same thing made into the .bin. Read.me This file. This .bin should be called with two arguments, precluding use in dBASE III+. The first argument should contain the drive letter of the drive for which the disk volume label or ID number are wanted. Obviously, there must be a disk in the drive or DOS will complain. The first argument should be a variable so that the information may be returned in it, and should be 11 characters long. The second argument should be "V" for the volume label or "N" for the ID number. Example: Load VOLNUM Arg1 = "B" + space( 10 ) call VOLNUM with arg1, "N" ? Arg1 The label or number found will be returned in the first argument. This WILL NOT work sensibly for disks not formatted under DOS 5.0 or higher. If it does not work, you should get a blank return if no label or ID exists. If an error occurs in a DOS call made by the .bin, you should get back "DOSerror 05" or the like, with the number indicating the error code returned by one of the DOS calls. Not warranted merchantable, fit for any purpose or anything else. Please report bugs or other difficulties or suggestions for improvements to: Jay Parsons CIS 70160,340 USSBBS Jay Parsons