- Easily set the creation, last access and last write date time of a file.
- The program allows to you set all 3 or just the ones you want.
- You can also set the same date-time for all 3 using just one parameter.
syntax: filetime filename -date-time-field:datetime [-isutc]
|filename||filename or a pattern e.g. hello.doc or *.txt.|
|date-time-field||can be one or more of the following:
creation - creation date and time
lastaccess - last accessed date and time
lastwrite - last write date and time
all - use this value for creation, last-access and last-write
Note: Datetime values must be specified as YYYY-MM-DD HH-MM-SS
|isutc||Optional. If specified the specified date time is taken to be UTC and no conversion is done.|
E.g.1 - set creation, last-accessed and last-write timestamps:
filetime hello.doc "-creation:2000-01-01 8:00:00" "-lastaccess:2001-01-01 8:00:00" "-lastwrite:2002-01-01 8:00:00"
E.g.2 - set all timestamps:
filetime d:\temp\*.exe "-all:2000-01-01 8:00:00"