在批处理文件多选菜单? [英] Multiple choices menu on batch file?

查看:119
本文介绍了在批处理文件多选菜单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我想打一个批处理文件菜单,询问您要安装选择应用?例如:

Hi I want to make a batch file menu, that asks 'Select app you want to install?' for example


  1. 程序App1

  2. App2的

  3. 程序App3

  4. APP4

  5. APP5

  6. 所有应用

选择哪些应用程序:_

Select what app:_

我要的是,比如我想安装App2的,程序App3和APP5,这样我就可以通过应用程序ID的键入选择什么样的应用程序:2,3,5。而当用户选择选项6,它会安装所有的应用程序!

What I want is, for example I want to install App2, App3, and App5, so I can type on by App ID's 'Select what app:2,3,5' . And when user Select option 6, it will install all Applications!

我知道这是可能的bash脚本编程,但我不确定批次脚本?

I know this is possible on bash scripting, but Im not sure on batch scripting?

批次菜单的一个实例是<一个href=\"http://mintywhite.com/software-reviews/productivity-software/create-multiple-choice-menu-batchfile/\" rel=\"nofollow\">http://mintywhite.com/software-reviews/productivity-software/create-multiple-choice-menu-batchfile/

推荐答案

您可以使用choice.exe在这里看到:的 http://ss64.com/nt/choice.html

you may use choice.exe see here : http://ss64.com/nt/choice.html

这篇关于在批处理文件多选菜单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆