Skip to content

dos_filedate

Dale Fugier edited this page Jul 1, 2026 · 1 revision

Returns a list containing filenames and AutoCAD calendar dates. Use rtos and substr or dos_strleft to extract elements from the AutoCAD calendar date.

Syntax

(dos_filedate filespec)

Parameters

filespec

The desired file or files. filespec can contain wildcard characters ("*" and "?"). If filespec is not supplied, it is assumed to be ..

Returns

An association list containing filenames and their corresponding dates in AutoCAD calendar date format if successful.

nil on error.

Example

Command: (dos_filedate "C:\\Program Files\\Autocad 2006\\Support\\*.dwg")
(("chroma.dwg" . 2.00301e+007) ("direct.dwg" . 2.00301e+007) ("overhead.dwg" . 2.00301e+007) ("rm_sdb.dwg" . 2.00301e+007) ("sh_spot.dwg" . 2.00301e+007))

Clone this wiki locally