📜  在批处理脚本中写入文本文件 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:33.655000             🧑  作者: Mango

代码示例1
@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