Hi all,
I've done a (very) little XY scripting, and know how to set a file's modified (created,etc) date using the timestamp command.
What I'm looking to do is just to set the created date to the modified date for the selected file. I thought I could just do it using:
timestamp c, '<datem>';
using the single quotes so that each selected item will be processed individually, but I get an error that <datem> is an invalid date.
Any suggestions? It's got to be a simple answer, but I'm definitely not seeing it!
Thanks!
andy
Script to copy modified date to created date
-
avsfan
- Posts: 554
- Joined: 29 Jun 2006 09:00
- Location: Fort Collins, Colorado
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: Script to copy modified date to created date
Hmmm.... Works fine here.
Tried from addressbar and try script.
Tried from addressbar and try script.
-
highend
- Posts: 14942
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Script to copy modified date to created date
Can't reproduce as well, sorry 
One of my scripts helped you out? Please donate via Paypal
-
avsfan
- Posts: 554
- Joined: 29 Jun 2006 09:00
- Location: Fort Collins, Colorado
XYplorer Beta Club