Multi Commander > Feature Requests and Suggestions

Batch processing for changing Properties (Attributes/Time)

(1/1)

Matthias515566:
Batch Creation Date=Modify Date

Today i got alot files with a wrong modify date. I needed to Change File Modify Date, it should be the same like the creation date. This operation worked not with MC. Maybe with a Multiscript. I made it with another Explorer Software.

Mathias (Author):
Not sure I understand.
You want the CreateDate to be set to the same as the ModifyDate ?

You can do that with MultiScript

Get all selected files and then loop over them and do
GetFileTime(..) -  filetimepart 0  (last write time)
http://multicommander.com/docs/multiscript/functions/filesystem#getfiletime
SetFileTime(..) - filetimepart 1 (create time)
http://multicommander.com/docs/multiscript/functions/filesystem#setfiletime

for the utcTime paramer use 0 ( return time in utc) , then no extra conversion are made. not needed NTFS store time in UTC




Navigation

[0] Message Index

Go to full version