Simple replace text in txt file script
Posted: 09 Apr 2021 03:31
Gday guys. I’ve been searching through the forums and there’s lots of answers that seem way more complicated than what I need
All I need is a bat file I can run to change the current 1 line of text in a txt file to something else
Eg sample.txt just has this is it:
Ivory
I need a batch file that when I run it it changes the text to another colour and saves the file
My plan is to have multiple bats with different colours so it just needs to replace whatever is currently there to the new thing. The reason I’m doing it that way doesn’t really matter
Thanks in advance!
All I need is a bat file I can run to change the current 1 line of text in a txt file to something else
Eg sample.txt just has this is it:
Ivory
I need a batch file that when I run it it changes the text to another colour and saves the file
My plan is to have multiple bats with different colours so it just needs to replace whatever is currently there to the new thing. The reason I’m doing it that way doesn’t really matter
Thanks in advance!