# Is there a way withthe SDK to obtain the gateway data directory path?

**URL:** <https://forum.inductiveautomation.com/t/is-there-a-way-withthe-sdk-to-obtain-the-gateway-data-directory-path/33584>\
**Category:** Module Development\
**Tags:** ignition80\
**Created:** [April 1, 2020, 2:44pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-withthe-sdk-to-obtain-the-gateway-data-directory-path/33584 "2020-04-01T14:44:20Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 1, 2020, 3:25pm UTC](https://forum.inductiveautomation.com/t/is-there-a-way-withthe-sdk-to-obtain-the-gateway-data-directory-path/33584/4 "2020-04-01T15:25:00Z")

</div>

In 7.9 or earlier, it’s `getHomeDir()` for inexplicable legacy reasons.

---

_[View the full topic](https://forum.inductiveautomation.com/t/is-there-a-way-withthe-sdk-to-obtain-the-gateway-data-directory-path/33584)._
