Page 1 of 1

Can't get small script to change the timestamp of my video files

Posted: 11 Dec 2024 16:27
by Wheathead
I've tried this script any number of ways and it produces no changes

Is there something beyond this that I missed?

timestamp c, '<datemedia>'; //set created date of all selected items to their "media created" date

Re: Can't get small script to change the timestamp of my video files

Posted: 11 Dec 2024 16:36
by highend
We don't know what your media dates are set to (and if they can be read by XY as well)...
Tried it here, worked fine...

Re: Can't get small script to change the timestamp of my video files

Posted: 11 Dec 2024 16:53
by Wheathead
Thanks for your prompt reply.

Yep, I worked on this for two hours and nothing. Then. after you posted your response I went back and tried it again in a sample script and ba-da-bing! It worked as designed. I'll never know why it was failing and its working now.

Illustration of the changed NTFS Created Date having been changed to the media created date for the first file in the list that I had applied the script to effectively replacing the date it was downloaded with the actual created date.

Code: Select all

timestamp c, '<datemedia>';
Next, I'd like to create a custom column for this?
XYplorer_lTEj1cGKV8.png
XYplorer_lTEj1cGKV8.png (123.91 KiB) Viewed 305 times