Skip to content
⌘ NSIS Forum Archive

Clear a file

4 posts

aemik#

Clear a file

Hello,

What is the easiest way to clear a file???
How can i delete the whole content of a text file???

thanks for help!
kichik#
Overwrite it with an empty file or open it with FileOpen in "w" mode and close it immediately with FileClose.