• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Batch file to insert text into a file

CalvinHobbes

Diamond Member
I have a command that will insert/append text into a text file. What I wanted to do was find a way to insert a line feed BEFORE I append the new text in the file. Is this possible from the command line?

I'm using "echo inserted_text>>file.txt" to insert text into my text file.
 
That works fine. I was also able to use "echo. inserted_text>>file.txt"
That puts a space before the inserted text which also works for my needs.
 
Back
Top