English 中文(简体)
Batch 成文,以改造一个有选择的监督事务司方案
原标题:
  • 时间:2009-05-29 15:46:18
  •  标签:

我有一个需要互动投入的青少年方案(监督事务司方案)。 在指挥线打字之后,例如

commandline.exe /ShowReport

监督事务司将促使用户注意某些价值的关键,然后着手进行下一次互动投入。

例如,当我在上述指挥中打下型号时,该星将促使我提出以下选择:

press  1  to show Report A
press  2  to Show Report B

如果我要报告A,我就会发出1份新闻。

现在的问题是,我想通过在文字档案中确定所有投入价值来使所有这些事情自动化。 也许像这样的东西(我不知道)

commandline.exe /ShowReport <1< abc 

我想为此写下一份打字。 是否有任何工具允许我这样做?

问题回答

您可在卷宗(分析材料)中撰写所有材料,并用回头向您的方案提供这些投入:

commandline.exe /ShowReport < input.txt

The < notess the authority Immediate to use the content of the file on the righthandside as standard investment.

Not strictly a batch solution but this might do the trick: Expect

另见Wikipediaenter/a。





相关问题
热门标签