# File node not working on windows

**URL:** <https://discourse.nodered.org/t/file-node-not-working-on-windows/28204>\
**Category:** General\
**Created:** [11 June 2020 21:45 UTC](https://discourse.nodered.org/t/file-node-not-working-on-windows/28204 "2020-06-11T21:45:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![korre](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/korre/32/23798_2.png) [@korre](https://discourse.nodered.org/u/korre)\
**Post date:** [11 June 2020 21:45 UTC](https://discourse.nodered.org/t/file-node-not-working-on-windows/28204/1 "2020-06-11T21:45:49Z")

</div>

Hello,  
i try to save text in a file on windows.

![2020-06-11 23_43_43-Window](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/8/78d1ce40396b80d295f48710cb2454075378ceaa.png)

it is not possible to save any msg.payload into a file.  
any suggestions?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [11 June 2020 21:50 UTC](https://discourse.nodered.org/t/file-node-not-working-on-windows/28204/2 "2020-06-11T21:50:46Z")

</div>

Are there any errors in the debug sidebar or the console?

Does the account running node-red have permission to write to D:?

Also, try `d:/file.txt` or `d:\\file.txt`

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [10 August 2020 21:50 UTC](https://discourse.nodered.org/t/file-node-not-working-on-windows/28204/3 "2020-08-10T21:50:46Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
