# Create dynamic directory

**URL:** https://www.finalbuilder.com/forums/t/create-dynamic-directory/1903
**Category:** Discussion
**Created:** [November 23, 2011, 10:20am UTC](https://www.finalbuilder.com/forums/t/create-dynamic-directory/1903 "2011-11-23T10:20:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [November 23, 2011, 10:20am UTC](https://www.finalbuilder.com/forums/t/create-dynamic-directory/1903/1 "2011-11-23T10:20:01Z")

</div>

Is it possible to create a dynamic directory based on todays date.

&nbsp;

E.g. for releases we have the following directory structure:

-2011

&nbsp; &nbsp;-11

&nbsp; &nbsp; &nbsp; -23

&nbsp;

Thanks

---

<div class="post-metadata">

### Author: ![stephen.ryan](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@stephen.ryan](https://www.finalbuilder.com/forums/u/stephen.ryan)
#### Post date: [November 23, 2011, 10:28am UTC](https://www.finalbuilder.com/forums/t/create-dynamic-directory/1903/2 "2011-11-23T10:28:33Z")

</div>

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
