Hi guys, not sure if this is the right place to ask, but I'm looking for some help with removing a line from a text file with Windows cmd.
For example, I'd like to have
Code:
WoG
WoG Scripts
Era Scripts
to become
Currently, I've found that findstr does the job, but it doesn't seem to be great, becoz
1. findstr cannot modify the original file. Instead, it has to output the modification to another file
2. findstr leaves an empty line at the end of the file.
Any thoughts, suggestions?
Edit: I ended up with findstr. Output the result, delete the original and rename the output. There seems to be no other way.
Maybe
Berserker should consider adding a new command for installmods.exe to remove a line from list.txt?