How would I set a variable to the contents of a text file?

后端 未结 0 1853
灰色年华
灰色年华 2021-02-12 22:12

I need to be able to set a variable to the contents of a text file. I\'d expect it to be something like this,

set foo=type C:\\%USERPROFILE%\\bar.txt
相关标签:
回答
  • 消灭零回复
提交回复
热议问题