【发布时间】:2014-04-10 16:12:28
【问题描述】:
我是编程新手。 some1 可以教我如何使用批处理脚本在 XML 文件中插入新行吗? 当前文件有前 2 行:
<?xml version="1.0"?>
<Workbook xmlns="urn:schemas-microsoft-com:xxxxxxxxx
我想在第 2 行添加一个格式字符串,所以它有:
<?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:xxxxxxxxxx
它必须使用批处理文件,因为文件的其余部分是用它构建的。
干杯, 艾伦
【问题讨论】:
标签: xml string batch-file insert newline