Answers for "batch file to write xml into file"

1

batch file to write xml into file

:: 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"^?^>
Posted by: Guest on June-10-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language