The information in this article applies to:
SUMMARYThe ADIR() function can be used to return MS-DOS file information, such as a file's date, time, size, and attributes. MORE INFORMATION
ADIR() places information about all files in the current directory, or
all files that match a file skeleton (such as "*.DBF") into an array,
then returns the number of matching files. For each file found, ADIR()
places the name, size, date, time, and MS-DOS attributes in the
specified array.
The DISPLAY MEMORY LIKE FileInfo command shows information similar to the following:
( 1, 1) C "COMMAND.COM" ( 1, 2) N 52925 (52925.00000000) ( 1, 3) D 03/10/93 ( 1, 4) C " 6:00:00" ( 1, 5) C "R...." According to these results, COMMAND.COM is 52,925 bytes in size, its date is 3/10/93, its time is 6 A.M., and the Read-Only attribute is set. NOTE: ADIR() can also be used to return a drive's volume name. REFERENCES
"Language Reference," version 2.5, page L3-176
Additional query words: VFoxWin FoxDos FoxWin 2.x command system hidden archive ADIR file
Keywords : kbenv FxenvMemory |
Last Reviewed: December 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |