PRB: ADIR() Function Returns Incomplete InformationLast reviewed: April 17, 1995Article ID: Q98360 |
The information in this article applies to:
SYMPTOMSThe ADIR() function returns nothing for the volume label of a selected disk.
CAUSEThe volume label for the particular drive consists of a text string that is more than 8 characters in length.
RESOLUTIONMake sure the volume labels on your disk drives contain 8 characters or fewer.
MORE INFORMATIONIf 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:
|
Additional reference words: FoxDos 2.50 2.50a 2.50b DIRECTORY COMMANDS
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |