cmd write to file code example
Example 1: write file using command windows
echo some-text > filename.txt
Example 2: batch write file
REM # | NOTE: this is for batch files (windows cmd)
REM # | EXAMPLE
echo This is the text you want in the actual file > NewFile.txt
REM # | SYNTAX
REM # | echo [insert-text] > [file-name]