开发者

How to SET a VARIABLE while running a Batch file

I would 开发者_Python百科like to know how to SET a variable in a batch file while it is running

E.g.

Enter variable name: test

Then I can call this variable later on e.g. %test%


Try this:

SET /P TEST=Enter variable name:
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜