# File Explorer Refresh

**URL:** <https://forum.inductiveautomation.com/t/file-explorer-refresh/9691>\
**Category:** Ignition\
**Created:** [February 11, 2015, 11:36am UTC](https://forum.inductiveautomation.com/t/file-explorer-refresh/9691 "2015-02-11T11:36:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomPedlar](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@TomPedlar](https://forum.inductiveautomation.com/u/TomPedlar)\
**Post date:** [February 11, 2015, 11:36am UTC](https://forum.inductiveautomation.com/t/file-explorer-refresh/9691/1 "2015-02-11T11:36:51Z")

</div>

Hi,  
I’m using file explorer to select auto generated csv files. However the contents of the file explorer only updates when I restart the project ( 7.7.rc2 ) ! The system is running on windows 7 and the client and gateway are on the same machine. Is there anyway to auto refresh file explorer ?

Thanks

Tom

---

<div class="post-metadata">

**Author:** ![jmaddy89](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@jmaddy89](https://forum.inductiveautomation.com/u/jmaddy89)\
**Post date:** [March 2, 2015, 4:12pm UTC](https://forum.inductiveautomation.com/t/file-explorer-refresh/9691/2 "2015-03-02T16:12:00Z")

</div>

I don’t see an easy way to do this, but I did find a work around. You can try a script that changes the rootDir property and then changes it back to what it was before.

```auto
event.source.parent.getComponent('File Explorer').rootDir = ""
event.source.parent.getComponent('File Explorer').rootDir = "E:\"
```

This worked for me and hopefully you too!

---

<div class="post-metadata">

**Author:** ![jmaddy89](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@jmaddy89](https://forum.inductiveautomation.com/u/jmaddy89)\
**Post date:** [March 2, 2015, 4:19pm UTC](https://forum.inductiveautomation.com/t/file-explorer-refresh/9691/3 "2015-03-02T16:19:00Z")

</div>

I’ve also just found that setting the file filter property to whatever its value already is causes the component to refresh. Probably looks a lot better doing it this way instead.

---

<div class="post-metadata">

**Author:** ![TomPedlar](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@TomPedlar](https://forum.inductiveautomation.com/u/TomPedlar)\
**Post date:** [March 5, 2015, 1:20pm UTC](https://forum.inductiveautomation.com/t/file-explorer-refresh/9691/4 "2015-03-05T13:20:09Z")

</div>

Thanks,

Both options worked

Regards,

Tom
