Repository navigation
dos_touch
Dale Fugier edited this page Jul 1, 2026
·
1 revision
Sets the date and time at which files were last written to the current date and time or, optionally, a specified date.
(dos_touch filespec [date [time]])
filename
The desired file or files. filespec can contain wildcard characters ("*" and "?"). If filespec is supplied, it is assumed to be ..
date
A list of numbers specifying the new year, month, and day. For details, see dos_date. If omitted, the current date is used.
time
A list of numbers specifying the new hour and minutes in 24-hour format. Optionally, the seconds and milliseconds can be specified. For details, see dos_time. If omitted, the current time is used.
A list of file that were modified if successful.
nil on error.
Command: (dos_touch "C:\\Program Files\\Autocad 2006\\*.dwg")
("Drawing2.dwg" "Drawing1.dwg")