标签: batch-file
我有一个form.txt文件,例如:
form.txt
My name is %name%
我想将文件传输到另一个文件,将变量扩展为:
set name=John echo form.txt|instance.txt
并阅读instance.txt:
instance.txt
My name is John