From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I read the question as wanting to insert text into an already existing text file. If that's the case, you need to read in the text file, insert your text, and then write out the new text to the file.