【发布时间】:2014-10-17 08:37:46
【问题描述】:
我需要一些关于批处理脚本的帮助。
在文件中查找一个字符串并删除该行的剩余部分。
例子:
This is my string before running the script.
查找字符串"before"并删除'直到行尾。
输出:
This is my string.
提前致谢。
【问题讨论】:
-
根据你说的规则,结果不应该以句点结尾
标签: batch-file replace find