一个文本文件中替换文本,而能够安装各种花哨的查找和替换工具,我需要找到并与从Windows Server命令行替换文本文件中的字符串2008与Windows命令行
我会怎么做?
例子:
text.md
Hello world!
更改为:
text.md
Hello everyone!
我在寻找类似:
for /f %%A in (text.md) do (
set "line=%%A"
if defined line (
// and here the replacement
) ELSE echo.
)
平原批量更换有限制,这是什么文字,我们正在处理了解的 - 或者我们可以浪费我们的时间,因为它不会工作。 – foxidrive