Date Stamp File Name [Answered] - VisualCron - Forum

Community forum

ScubaDrew
2011-03-04T16:33:35Z
Hello,

I'm looking to just add a datestamp to a file when its created. I think this should be accomplished with the Rename task.

My mask is *.* on a particular directory.

The trouble I'm having is in the Rename settings box, what variable can I use in the new name mask to get the existing file name.

basically I'm looking for {DATEFORMAT(MMddyyyy)}_{EXISTINGFILENAME}

thanks for the help,

drew
Support
2011-03-05T12:55:50Z
Try using:

{DATEFORMAT(MMddyyyy)}_*

Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
2011-03-05T17:01:07Z
Hi ScubaDrew,

If you used the file trigger, you could look at the trigger variables. There is the name of the file. Put this behind the dateformat variable, and you're done.

Regards
Erik
Uses Visualcron since 2006.
ScubaDrew
2011-03-07T23:37:31Z
Support wrote:

Try using:

{DATEFORMAT(MMddyyyy)}_*




This worked perfectly.

thank you,

Drew
Scroll to Top