Is there a way to prepend text to a file?

To prepend text, you simple need to read the file, and then write what you want, followed by the original file data.

2 Likes