Originally posted by sweetdreamlan at 2006-10-20 06:15:
用4DOS,怎么做命令解释器呢? 就拿 set /p 自定义输入值,做例子吧
在 config.sys 中加入
shell=c:\4dos\4dos.com
一行。方括号中为可选项,路径名根据你实际的安装路径修改
另外关于你的这个问题和4DOS下载的帖子:
http://www.cn-dos.net/forum/viewthread.php?tid=19955
http://www.cn-dos.net/forum/viewthread.php?tid=20079
就你这个例子来说可以这样用
input %%input
echo %input%
后面的 %%input 环境变量名你自己可以随意取
详细的关于 input 命令的使用可以看 4DOS 自身的帮助:input /? 或 键入(注意不是输入,不要按回车)input 然后按F1