Replace line in a .tex file via batch
Yes, I know there’s a plenty of question like this. In fact, I tried some code to replace the line
begin{flushleft}
with %begin{flushleft}
(the same, but commentend and obliterad) taking inspiration from the various questions, but the line remains unchanged