ID: Q98360
The information in this article applies to:
The ADIR() function returns nothing for the volume label of a selected disk.
The volume label for the particular drive consists of a text string that is more than 8 characters in length.
Make sure the volume labels on your disk drives contain 8 characters or fewer.
If you use the following code
SET TALK OFF
? VOLUME('C') && Print volume label of drive C
PROCEDURE volume
PARAMETER drive
string = drive + ':'
DIMENSION temparray(1)
=ADIR(temparray,(string),'V')
RETURN temparray(1)
FoxPro 2.5 or 2.5a for MS-DOS will return the following:
Last Reviewed: April 17, 1995