# Saving all files to a single directory

**URL:** <https://discourse.slicer.org/t/saving-all-files-to-a-single-directory/2029>\
**Category:** Feature requests\
**Tags:** file-export\
**Created:** [February 5, 2018, 9:32pm UTC](https://discourse.slicer.org/t/saving-all-files-to-a-single-directory/2029 "2018-02-05T21:32:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevenagl12](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/stevenagl12/32/3391_2.png) [@stevenagl12](https://discourse.slicer.org/u/stevenagl12)\
**Post date:** [February 5, 2018, 9:32pm UTC](https://discourse.slicer.org/t/saving-all-files-to-a-single-directory/2029/1 "2018-02-05T21:32:54Z")

</div>

I was wondering if there was a way we could get the feature added that allows a universal selection to the saving dialogue box? If you have multiple files, and don’t want to save it as an mrb file, it gets tedious selecting all of the directories individually. In addition, it would be nice to have a default choice for particular file types such as saving volumes only as nrrd files instead of having to select it individually.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [February 6, 2018, 12:11am UTC](https://discourse.slicer.org/t/saving-all-files-to-a-single-directory/2029/2 "2018-02-06T00:11:55Z")

</div>

The first can already be done in the dialog - did you see the button next to save to change directory for selected files?

The second can be done by setting up a script to run on startup - see:

[https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Change\_default\_file\_type\_for\_nodes\_.28that\_have\_never\_been\_saved\_yet.29](https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Change_default_file_type_for_nodes_.28that_have_never_been_saved_yet.29)

---

<div class="post-metadata">

**Author:** ![stevenagl12](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/stevenagl12/32/3391_2.png) [@stevenagl12](https://discourse.slicer.org/u/stevenagl12)\
**Post date:** [February 7, 2018, 5:56pm UTC](https://discourse.slicer.org/t/saving-all-files-to-a-single-directory/2029/3 "2018-02-07T17:56:42Z")

</div>

I apologize, I didn’t see that button before. Thank you.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 21, 2023, 2:54am UTC](https://discourse.slicer.org/t/saving-all-files-to-a-single-directory/2029/4 "2023-03-21T02:54:44Z")

</div>


