All Manuals > LispWorks User Guide and Reference Manual > 49 The SYSTEM Package

NextPrevUpTopContentsIndex

set-file-dates

Function
Summary

Sets the modification and access times of a file.

Package

system

Signature

set-file-dates file &key creation modification access

Arguments

file

A pathname designator.

creation

A non-negative integer, or nil.

modification

A non-negative integer, or nil.

access

A non-negative integer, or nil.

Description

The function set-file-dates sets the modification and access times of the file file for each of modification and access that is non-nil.

On Microsoft Windows, if creation is non-nil, the creation time of the file is also set. creation is ignored on other platforms.

Each keyword argument is interpreted as a universal time representing the time to set, unless it is nil in which case the corresponding time for file is not changed. Each keyword argument has default value nil.

An error of type file-error is signaled on failure.

See also

open


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex