# Write to Text File -&gt; Overwrite

**URL:** https://www.finalbuilder.com/forums/t/write-to-text-file-gt-overwrite/3768
**Category:** Feature Requests
**Created:** [November 21, 2006, 6:22am UTC](https://www.finalbuilder.com/forums/t/write-to-text-file-gt-overwrite/3768 "2006-11-21T06:22:37Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![stevage](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/bc8723/32.png) [@stevage](https://www.finalbuilder.com/forums/u/stevage)
#### Post date: [November 21, 2006, 6:22am UTC](https://www.finalbuilder.com/forums/t/write-to-text-file-gt-overwrite/3768/1 "2006-11-21T06:22:37Z")

</div>

Either had a new radio button ‘Overwrite file’ or a new checkbox ‘Delete file if it exists’…  
  
Yes, there’s an obvious workaround 🙂  
  
Steve

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [November 21, 2006, 7:12am UTC](https://www.finalbuilder.com/forums/t/write-to-text-file-gt-overwrite/3768/2 "2006-11-21T07:12:47Z")

</div>

Use Create File Action - it has the overwrite option you are asking for. That’s what I do - use Create File to start the file and the Write To File to append.

---

<div class="post-metadata">

### Author: ![stevage](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/bc8723/32.png) [@stevage](https://www.finalbuilder.com/forums/u/stevage)
#### Post date: [November 22, 2006, 4:09am UTC](https://www.finalbuilder.com/forums/t/write-to-text-file-gt-overwrite/3768/3 "2006-11-22T04:09:35Z")

</div>

Ah yeah, I was just using Delete File without the option to raise an error if the file doesn’t exist. Your way is marginally more readable/sensible…  
  
Steve
