> For the complete documentation index, see [llms.txt](https://hiimmaxx7s-organization.gitbook.io/gpm-automate/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hiimmaxx7s-organization.gitbook.io/gpm-automate/no-code-automation/file-and-folder/file-write-all-text.md).

# File write all text

Như ở hình dưới, sẽ xoá toàn bộ nội dung của file D:\1.txt, sau đó ghi nội dung "nocode automation" vào file này.

<figure><img src="/files/wwBgCm8hyyh7pyqIB7Dt" alt=""><figcaption><p>File write all text</p></figcaption></figure>

Chú ý: Có thể dùng  File write all text để tạo 1 file text trống. Như ở hình trên, phần Text mình sẽ bỏ trống.
