# Getting absolute path for WebDev mounted folder

**URL:** <https://forum.inductiveautomation.com/t/getting-absolute-path-for-webdev-mounted-folder/52116>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [October 19, 2021, 3:38pm UTC](https://forum.inductiveautomation.com/t/getting-absolute-path-for-webdev-mounted-folder/52116 "2021-10-19T15:38:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nathan1](https://avatars.discourse-cdn.com/v4/letter/n/8baadc/32.png) [@nathan1](https://forum.inductiveautomation.com/u/nathan1)\
**Post date:** [October 19, 2021, 3:38pm UTC](https://forum.inductiveautomation.com/t/getting-absolute-path-for-webdev-mounted-folder/52116/1 "2021-10-19T15:38:57Z")

</div>

Is there any way to get the absolute path for a WebDev mounted folder through scripting? We have different paths between dev and production so we have to manually update when deploying. It would be nice to be able to get the absolute path for a mounted folder through scripting so that the paths can remain dynamic.

---

<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:** [October 19, 2021, 3:54pm UTC](https://forum.inductiveautomation.com/t/getting-absolute-path-for-webdev-mounted-folder/52116/2 "2021-10-19T15:54:45Z")

</div>

Not really; the actual path encoded in the resource is relative. In theory you could (on the gateway) run a script that finds the actual Webdev resource, decodes the resource JSON, then gives you that partial path, which you could convert to an absolute path. It’d be non-trivial to do, though.
