# Select Folder / create folder in Template

**URL:** <https://clarionhub.com/t/select-folder-create-folder-in-template/5556>\
**Category:** questions\
**Tags:** templates\
**Created:** [October 23, 2022, 8:28pm UTC](https://clarionhub.com/t/select-folder-create-folder-in-template/5556 "2022-10-23T20:28:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sk2107](https://clarionhub.com/user_avatar/clarionhub.com/sk2107/32/3135_2.png) [@sk2107](https://clarionhub.com/u/sk2107)\
**Post date:** [October 23, 2022, 8:28pm UTC](https://clarionhub.com/t/select-folder-create-folder-in-template/5556/1 "2022-10-23T20:28:27Z")

</div>

Hello everybody.

I have this template which I created to keep the history of changed procedures through compilation process, I tried to select the target location as a folder using  
"#PROMPT('Folder Name',SAVEDIALOG( ...." but it selects files only not folders.

![image](https://clarionhub.com/images/transparent.png)

Now I am putting the folder name manually. Another difficulty that if I enter the path manually how the folder to be created if it does not exist (I tried #RUN but it did not work)

I am using Clarion 6.3

Thanks

---

<div class="post-metadata">

**Author:** ![RobertoArtigas](https://clarionhub.com/letter_avatar_proxy/v4/letter/r/9d8465/32.png) [@RobertoArtigas](https://clarionhub.com/u/RobertoArtigas)\
**Post date:** [October 23, 2022, 11:45pm UTC](https://clarionhub.com/t/select-folder-create-folder-in-template/5556/2 "2022-10-23T23:45:39Z")

</div>

Create a DLL that can be called with the #RUNDLL and return in the variable you passed to the DLL the directory you select with the get DIALOG with the correct parameters to get a directory. The technique works with ant version of Clarion from C4 to C11.
