Copy file and add created date to file name - VisualCron - Forum

Community forum

TCG
  •  TCG
  • Paid support Topic Starter
2016-04-08T12:56:11Z
Hi All

I am new to Visual Cron and need some help please

I would like to copy a file New.xls from \\abc\ to \\abc\processed\ and append the created date to the file name

The file name should change from new.xls to New April 2016.xls

I am pretty much there but by using the following post process mark with variable - {NEWNAME()}__{DATEFORMAT(MM-yyyy)}.xls the out come isn't quite correct. The file name ends up being new.xls.april2016.xls

Please help!

Thank you
Chris

Support
2016-04-08T13:55:33Z
You can workaround this with:


{PATH(GetFileNameWithoutExtension|{NEWNAME()})}__{DATEFORMAT(MM-yyyy)}.xls
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top