📜  将 xml 写入文件的批处理文件 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:59.603000             🧑  作者: Mango

代码示例1
:: Use ^ before the character in order to make cmd ignore it as a function

@Echo off
call :data2 >file1.txt
exit /b

:data2
ECHO OFF
ECHO ^<^?xml version="1.0" encoding="UTF-8"^?^>