# File Explorer on Mac Client

**URL:** <https://forum.inductiveautomation.com/t/file-explorer-on-mac-client/14041>\
**Category:** Ignition\
**Created:** [April 13, 2017, 4:25pm UTC](https://forum.inductiveautomation.com/t/file-explorer-on-mac-client/14041 "2017-04-13T16:25:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerry101](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@jerry101](https://forum.inductiveautomation.com/u/jerry101)\
**Post date:** [April 13, 2017, 4:25pm UTC](https://forum.inductiveautomation.com/t/file-explorer-on-mac-client/14041/1 "2017-04-13T16:25:46Z")

</div>

I am using the File Explorer component to select a location for a file to be saved and then appending the file name. When doing so i have to add “” to the front of the file name so it places it in the correct folder. This causes issues when the client is on a Mac. I am using the FileOutputStream from the Apache POI. Examples below.

Windows when saving to desktop = “sample.xls”  
Mac when saving to desktop = “Desktop\sample.xls”

Also is there a way to tell what operating system the client is running on?

Any thoughts or suggestions are welcome.

---

<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 13, 2017, 6:04pm UTC](https://forum.inductiveautomation.com/t/file-explorer-on-mac-client/14041/2 "2017-04-13T18:04:54Z")

</div>

Try these on the client, and see what values are returned for OSX vs Windows:

> print system.util.getProperty("os.arch")  
> print system.util.getProperty("os.name")  
> print system.util.getProperty("os.version")

---

<div class="post-metadata">

**Author:** ![jerry101](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@jerry101](https://forum.inductiveautomation.com/u/jerry101)\
**Post date:** [April 13, 2017, 6:17pm UTC](https://forum.inductiveautomation.com/t/file-explorer-on-mac-client/14041/3 "2017-04-13T18:17:23Z")

</div>

Thanks PGriffith, i think that will help me out on knowing the file path structure.
