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

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Wheathead
Posts: 41
Joined: 18 Sep 2021 13:31

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

Post 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

highend
Posts: 14110
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

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

Post 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...
One of my scripts helped you out? Please donate via Paypal

Wheathead
Posts: 41
Joined: 18 Sep 2021 13:31

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

Post 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 304 times

Post Reply