[Solved] Monthly folder creation - VisualCron - Forum

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


Guest
13 years ago
hi,
I have a job that triggers on the last day of the month and i want it to create a folder in E:Archive with that days date as its name.

How do i do this?
Sponsor
Forum information
Support
13 years ago
Open the Variables browser and browse to the date Variables. You can customize the date anyway you like but remember that you can only used allowed character for the current file system.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Guest
13 years ago
Ahh i see, that's why it gives me an error.




but if i use E:Archive{DATE(Month.Name)} it creates a folder called ArchiveApril in E:

but i want a folder called April in E:Archive

which would have a path E:Archive/April not E:ArchiveApril


ErikC
13 years ago
Hi afruish,

You are almost there, you need the \ character to do this, so:

E:\Archive\{DATE(Month.Name)}

Regards,
Erik
Uses Visualcron since 2006.
Support
13 years ago
Path should be something like:

E:\Archive\{DATE(Month.Name)}
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
13 years ago
Originally Posted by: ErikC 

Hi afruish,

You are almost there, you need the \ character to do this, so:

E:\Archive\{DATE(Month.Name)}

Regards,
Erik



Your answer was a little bit better with the coloring 🙂 Thanks
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
13 years ago
a little is enough..
Uses Visualcron since 2006.
Guest
13 years ago
ahhh thanks guys!

i used a slash before for something but was admonished for doing so, i suppose it depends where you are slashing!

:-)
Scroll to Top