Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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"^?^>
Comment

PREVIOUS NEXT
Code Example
Shell :: convert all line endings to unix 
Shell :: docker for elixir 
Shell :: timestamp in bash 
Shell :: installing .deb on kali 
Shell :: ls human readable size 
Shell :: error running pod install 
Shell :: clone a given branch github 
Shell :: docker active log 
Shell :: expo upgrade reset 
Shell :: The terminal process failed to launch: Path to shell executable "/bin/zsh" does not exist. 
Shell :: set global configuration git mac 
Shell :: delete heroku remote 
Shell :: vim move line down 
Shell :: remove ds_store git 
Shell :: angular cli add ssl certificate 
Shell :: linux linebreaks script bash 
Shell :: how to install kvm on Ubuntu 22.04 
Shell :: touch command not working in vscode 
Shell :: shell script in jenkins pipeline 
Shell :: run specific migration file django 
Shell :: pip install from github ssh 
Shell :: count number of files in directory linux 
Shell :: push to multiple remotes git 
Shell :: downgrade cocoapods in mac m1 
Shell :: bash alias function that accepts arguments 
Shell :: download nodejs ubuntu linux 
Shell :: how to undo a git stash 
Shell :: edit global git config file 
Shell :: sum decimals bash 
Shell :: git push origin master 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =