I have been doing a lot of browsing, and have not been able to find what I want to find.
What I want to do is have a batch on my dekstop that will edit a file with a different directory eg.
'C:\Program Files\example\text_file.txt'.
The above directory is an example of where the text file is.
If the text file contained the text:
"Negative1"
"Negative2"
"Positive1"
"Positive2"
"Negative3"
"Positive3"
I want to change the "Positive" in "Positive2" to a "Negative", inside the text file by running this batch file, however the command can't conflict with other text (eg menus, other commands, and a lot of echoing).
I have used the FIND command to find it, but It doesn't have the option to edit/change.
I also need the option to do it silently.
Can anyone please help, all help is greatly appreciated.
Thanking you all in advance
![Twisted Evil :twisted:](./images/smilies/icon_twisted.gif)
![Twisted Evil :twisted:](./images/smilies/icon_twisted.gif)
P.S. I want to be able to give this to others who will have the file so I dont want to have to use third party software or anything. Thanks for the responses!
![Twisted Evil :twisted:](./images/smilies/icon_twisted.gif)
![Twisted Evil :twisted:](./images/smilies/icon_twisted.gif)