home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / progmisc / dblib201.zip / VOLNUM.TXT < prev    next >
Text File  |  1993-03-02  |  2KB  |  44 lines

  1.                VOLNUM.ZIP    Jay Parsons, CIS 70160,340
  2.                Dated:       March 2, 1993
  3.                Version:     1.1
  4.  
  5.         Enclosed are these files:
  6.  
  7.           Volnum.asm          source code for a dBASE .bin to read disk
  8.                               volume label or ID number.
  9.  
  10.           Volnum.bin          same thing made into the .bin.
  11.  
  12.           Read.me             This file.
  13.  
  14.         This .bin should be called with two arguments, precluding use
  15. in dBASE III+.  The first argument should contain the drive letter of the
  16. drive for which the disk volume label or ID number are wanted.  Obviously,
  17. there must be a disk in the drive or DOS will complain.
  18.  
  19.         The first argument should be a variable so that the information
  20. may be returned in it, and should be 11 characters long.
  21.  
  22.         The second argument should be "V" for the volume label or "N"
  23. for the ID number.
  24.  
  25.         Example:        Load VOLNUM
  26.                         Arg1 = "B" + space( 10 )
  27.                         call VOLNUM with arg1, "N"
  28.                         ? Arg1
  29.  
  30.         The label or number found will be returned in the first argument.
  31. This WILL NOT work sensibly for disks not formatted under DOS 5.0 or
  32. higher.  If it does not work, you should get a blank return if no label
  33. or ID exists.  If an error occurs in a DOS call made by the .bin, you
  34. should get back "DOSerror 05" or the like, with the number indicating
  35. the error code returned by one of the DOS calls.
  36.  
  37.         Not warranted merchantable, fit for any purpose or anything else.
  38.  
  39. Please report bugs or other difficulties or suggestions for
  40. improvements to:
  41.                         Jay Parsons
  42.                         CIS 70160,340
  43.                         USSBBS Jay Parsons
  44.