Answers for "writing to a text file in batch script"

0

writing to a text file in batch script

@echo off
echo This is a test> test.txt
echo 123>> test.txt
echo 245.67>> test.txt

rem Or you can use variables:
set a=%RANDOM%
echo %a% > test.txt
Posted by: Guest on July-21-2021

Code answers related to "writing to a text file in batch script"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language