【发布时间】:2010-09-19 10:05:40
【问题描述】:
我正在做这样的事情:
all:
@SET /p filecontent= < somefile.txt
@echo %filecontent%
但是filecontent 变量似乎不包含文件somefile.txt 的内容。
【问题讨论】:
-
您希望如何处理这些内容?可能有更好的方法来做到这一点。
-
somefile.txt 是一个包含密码的单行文件,我不想在每个 makefile 中硬编码
标签: nmake