FILEINFO()

From Lianjapedia
Jump to: navigation, search

Purpose

Function to return information about a file

Syntax

FILEINFO(<expC>)

See Also

DBF(), FSIZE(), GETENV(), NDX(), SET FULLPATH, SYSFILES, TABLEINFO()

Description

The FILEINFO() function returns a comma-separated string containing information about the file specified in <expC>.

The following information is returned:

  • Day of the month of file last update date
  • Month of file last update date
  • Year of file last update date
  • Hours of file last update time
  • Minutes of file last update time
  • Seconds of file last update time
  • File attribute string
  • File size in bytes

Example

? fileinfo("test.exe")
30,9,2003,20,12,23,A,4731284