【发布时间】:2013-12-11 14:50:49
【问题描述】:
我正在尝试用批处理制作一个简单的问题游戏。像这样:
------- This is Ascii --------
1. This is First Question
a. this is option a
b. this is option b
c. this is option c
d. this is option d
Put Your Answer > [a/b/c/d]
而我想要的是:
我希望我的游戏从文本文件中加载问题,因为问题很多
这是我的 Question.txt 文件示例:
1. This is First Question
a. This is option a
b. This is option b
c. This is option c
d. This is option d
2. This is Second Question
a. This is option a
b. This is option b
c. This is option c
d. This is option d
3. This is Third Question
a. This is option a
b. This is option b
c. This is option c
d. This is option d
我正在尝试使用 FOR 命令等...我没有弄清楚主菜单和其他东西,我有自己的。我的问题仅此而已。 你能帮我弄清楚吗?
【问题讨论】:
标签: file batch-file text windows-7 command-prompt