# system.file.openFile() to open a Folder

**URL:** <https://forum.inductiveautomation.com/t/system-file-openfile-to-open-a-folder/110510>\
**Category:** Ignition\
**Tags:** ignition81, scripting\
**Created:** [September 10, 2025, 10:13am UTC](https://forum.inductiveautomation.com/t/system-file-openfile-to-open-a-folder/110510 "2025-09-10T10:13:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielps1818](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@danielps1818](https://forum.inductiveautomation.com/u/danielps1818)\
**Post date:** [September 10, 2025, 10:13am UTC](https://forum.inductiveautomation.com/t/system-file-openfile-to-open-a-folder/110510/1 "2025-09-10T10:13:22Z")

</div>

Is there any way of using the popup view that opens when calling system.file.openFile() to select a folder?

For some reason if you try you can only click accept if you select a file.

I'm trying to select a folder to save a file there, so the user can select where to save it.

**Note** : I'm calling it from the designer console.

Thx!

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [September 10, 2025, 10:42am UTC](https://forum.inductiveautomation.com/t/system-file-openfile-to-open-a-folder/110510/2 "2025-09-10T10:42:14Z")

</div>

> [@danielps1818](#):
>
> I'm trying to select a folder to save a file there, so the user can select where to save it.

I would try `system.file.saveFile()`. I don’t know if that will let you select a folder as a path or not.

---

<div class="post-metadata">

**Author:** ![Daniel\_Kearney](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/daniel_kearney/32/79526_2.png) [@Daniel\_Kearney](https://forum.inductiveautomation.com/u/Daniel_Kearney)\
**Post date:** [September 10, 2025, 10:42am UTC](https://forum.inductiveautomation.com/t/system-file-openfile-to-open-a-folder/110510/3 "2025-09-10T10:42:30Z")

</div>

Maybe I’m misunderstanding your question but does system.file.saveFile() not work for what you’re trying to accomplish?

> **[system.file.saveFile | Ignition User Manual](https://docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-file/system-file-saveFile)**
>
> Prompts the user to save a new file named filename.

---

<div class="post-metadata">

**Author:** ![danielps1818](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@danielps1818](https://forum.inductiveautomation.com/u/danielps1818)\
**Post date:** [September 10, 2025, 1:22pm UTC](https://forum.inductiveautomation.com/t/system-file-openfile-to-open-a-folder/110510/4 "2025-09-10T13:22:28Z")

</div>

It does, I understand the documentation wrong.  
It actually does what I need. Thx!
