Is it possible to create a dynamic directory based on todays date.
E.g. for releases we have the following directory structure:
-2011
-11
-23
Thanks
Is it possible to create a dynamic directory based on todays date.
E.g. for releases we have the following directory structure:
-2011
-11
-23
Thanks
Hi Jamie
Yes you can do this very easily. Just create three variables (Year, Day, Month) and use the Get Date Time action to set each of the variables (you will need to change the format string so that each variable is assigned the correct portion of the date).
Then just use the Create Directory action and enter the path as the following ‘C:\Some\Path%Year%%Month%%Day%’. Make sure you enable the force directories option.
Hope this helps.
Regards,
Steve