Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This command returns the creation date of a file or directory.
filecreated [filesys path]
Parameters
- filesys path
Fully qualified file system path to the file or directory of interest.
Example Code
The following example shows how you can use this command.
; *******************************************
; Getting created time
; *******************************************
set file "control panel.lnk"
echo "'%file%' created on `filecreated "%file%"`"
Remarks
This command outputs a date string representing the date and time at which the named file or directory was created.
This command is typically used within backticks to perform command substitution.
See Also
Send Feedback on this topic to the authors