file.setCreated
| Syntax |
file.setCreated (path, when)
|
| Params |
path is thepath to the file or folder whose creation date you wish to set. when is a date value to be established as the creation date for the file.
|
| Action |
Sets the date indicating when the file was created.
|
| Returns |
True when the date is successfully set, false otherwise.
|
| Examples |
file.setCreated ("C:\\Program Files\\Frontier\\sample.txt", clock.now ()) » true
file.setCreated ("System:tmp", 0)
|
| Notes |
This is an advanced Frontier verb of primary interest to implementers and advanced scripters. It is not necessary to understand it to use Frontier effectively for most tasks. The file.new verb sets the creation date, and the file.created verb returns it. It's not usually a good idea to change the creation date of a file.
|
| See Also |
file.created
|