Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


sharktech
2011-11-30T15:33:22Z
Hi

this is probably simple, i need to copy a file and put the date & time at the end of the filename

so copy

c:\folder\file.txt to c:\moved\file_20111130-1534.txt

for the life of me i cant figure it out.

Thanks in Advance
Sponsor
Forum information
Support
2011-11-30T15:35:36Z
The Copy files Task does not have any "post processing" of Variables. You need to use the Rename Task for this right now.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
sharktech
2011-11-30T15:36:30Z
Originally Posted by: Support 

The Copy files Task does not have any "post processing" of Variables. You need to use the Rename Task for this right now.



Sorry forgot to say ive already copied the file using a copy task im trying to do this now using the rename task
Support
2011-11-30T15:37:09Z
Which version are you using?

Have you tried using Variables?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
sharktech
2011-11-30T15:53:44Z
Originally Posted by: Support 

Which version are you using?

Have you tried using Variables?



6.0.4 - im new to this so trying to figure it out.

in new name mask i have FFI_{DATEFORMAT(ddMMyyyy-HHmm).*

post process... is ticked with the following in it :

{STRING(Replace|{NEWNAME(FFI_{DATEFORMAT(ddMMyyyy-HHmm)})}|oldValue|newValue)}
Support
2011-12-01T14:57:29Z
You cannot move it to another directory with the Rename Task. You need to use the Copy files Task.

If you have time to wait we could alter the Copy files Task to support the Variable processing for you for tomorrow. Does that sound OK?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
sharktech
2011-12-01T15:05:20Z
Originally Posted by: Support 

You cannot move it to another directory with the Rename Task. You need to use the Copy files Task.

If you have time to wait we could alter the Copy files Task to support the Variable processing for you for tomorrow. Does that sound OK?



thats what i was trying to do.

my task setup as step one copy file, step 2 rename using variables from previous post
Support
2011-12-01T15:10:38Z
As you don't know the name of the file that was copied it is hard to do it in two steps without using a File Trigger in between. We will add the Variable processing to Rename Task so you can do it in one sweep.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2011-12-01T16:43:24Z
Please try this version with the Copy file Task only:

http://neteject.com/down...on/VisualCron6.0.4-7.exe 
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top