Further to FindReplace in a file,
using the ReplaceText command from the TextUtils plugin is another fast method to find and replace text in a text file;
Read more
using the ReplaceText command from the TextUtils plugin is another fast method to find and replace text in a text file;
Code:
ReplaceText "e:\cobolscript\cobcal.cbl" /w /r:"CALENDAR USING 2024 12":"CALENDAR USING %_year %_month" > r:\cobcal.cbl
Code:
REPLACETEXT — Replace strings in text from a file.
Syntax:
REPLACETEXT /A:attribs /C /CP:n /H /N /P /R:from:to /S /W /X:from:to filename…
/A:attribs attributes mask; valid flags are...
Read more