how to write a bat file code example
Example 1: 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]
Example 2: what is a windows batch file
@ECHO OFF
ECHO Congratulations! Your first batch file executed successfully.
PAUSE