|
feelam
初级用户
 
积分 38
发帖 17
注册 2007-8-4
状态 离线
|
『楼 主』:
[求助] 一个比较棘手的问题
使用 LLM 解释/回答一下
windows命令行下可以
set /P input="请输入访问密码:"
if /I "%input%"=="password" ( goto :AX ) else ( goto :EX )
:AX
echo 恭喜你,密码正确
:EX
reset.com
但是在GRUB4DOS里如何写代码呢?用同样的set /p 是执行不到的,请高手指教。
类似maxdos或者矮人dos 执行前一步可以设置密码那样,代码如何写的?
Last edited by feelam on 2007-8-14 at 12:15 AM ]
Under Windows command line, it can:
set /P input="Please enter the access password: "
if /I "%input%"=="password" ( goto :AX ) else ( goto :EX )
:AX
echo Congratulations, the password is correct
:EX
reset.com
But how to write the code in GRUB4DOS? Using the same set /p won't be executed. Please ask experts for guidance.
Similar to MaxDOS or矮人DOS where you can set a password before execution, how to write the code?
Last edited by feelam on 2007-8-14 at 12:15 AM ]
|
|
2007-8-6 13:29 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
看软件帮助文件,或看本人的初级教程进阶篇或附录部分。
Please look at the software's help file, or look at the advanced section or appendix of my beginner's tutorial.
|

Windows 一键还原
http://www.yjhy.com |
|
2007-8-6 17:20 |
|
|
feelam
初级用户
 
积分 38
发帖 17
注册 2007-8-4
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
Originally posted by lianjiang2004 at 2007-8-6 05:20 PM:
看软件帮助文件,或看本人的初级教程进阶篇或附录部分。
首先对你的回答表示忠心的谢意
另外:能否麻烦你直接提供一下,因为我其他东西都准备好了,现在就差这一点,时间也比较紧,因为是做给公司用的.
Originally posted by lianjiang2004 at 2007-8-6 05:20 PM:
Refer to the software's help file, or refer to the advanced section or appendix part of my introductory tutorial.
First of all, I would like to express my sincere gratitude for your answer.
In addition: Could you please be so kind as to directly provide it? Because I have everything else ready, and now I'm just short of this part. Time is also tight because it's for the company.
|
|
2007-8-6 19:28 |
|
|
feelam
初级用户
 
积分 38
发帖 17
注册 2007-8-4
状态 离线
|
|
2007-8-14 00:15 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
从你的回答,可以看出你并不是抱着学习的态度来这的。论坛则是学习和交流的地方。
From your reply, it can be seen that you are not coming here with a learning attitude. The forum is a place for learning and communication.
|

Windows 一键还原
http://www.yjhy.com |
|
2007-8-14 06:49 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
|
2007-8-14 06:50 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
欲速则不达,说得好。现在许多人都在尝试 linux 系统了,也有人抱怨 linux 不适合他自己,说再等等吧,等到 linux 完全和 windows 一模一样了再用。
其实这就是要求 linux 很快能达到自己所希望的那样,而这个想法是很难实现的。说不定 10 年,说不定是 20 年,这种等待,谁也没有保证。这样的人,估计大多都会选择彻底放弃的。
Haste makes waste, that's a good saying. Now many people are trying the Linux system, and some people complain that Linux is not suitable for themselves, saying to wait until Linux is exactly the same as Windows before using it.
In fact, this is to require Linux to quickly reach what they hope, and this idea is difficult to realize. Maybe 10 years, maybe 20 years, no one can guarantee such waiting. Such people are estimated to mostly choose to give up completely.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2007-8-14 10:48 |
|
|
feelam
初级用户
 
积分 38
发帖 17
注册 2007-8-4
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
Originally posted by lianjiang2004 at 2007-8-14 06:50 AM:
也该明白什么叫欲速则不达的道理。
晕 事实并不是你想象的那样
或许不排除有的人是你说的这种
但是我不是
确实是因为时间紧迫
而我也完全是最近(2个星期内才开始学的)
http://www.cn-dos.net/forum/viewthread.php?tid=32867&fpage=1&highlight=
你看我另外的一个链接。我现在已经暂时不考虑加上密码功能了,而且也去掉部分菜单了
Originally posted by lianjiang2004 at 2007-8-14 06:50 AM:
One should also understand the principle that "Haste makes waste".
Wow, the reality is not as you imagine.
Maybe there are people who are like you said,
but I am not.
Actually, it is really because of tight time,
and I have only started learning it recently (within the past two weeks).
http://www.cn-dos.net/forum/viewthread.php?tid=32867&fpage=1&highlight=
Please take a look at my other link. I have temporarily stopped considering adding password functions, and also removed some menus.
|
|
2007-8-15 21:07 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
我的意思是,已经提供了资料供参考了,还以时间紧为理由而自己不去看,那么等再长的时间,也还是为零,不会有结果。关键还是要靠你自己。
What I mean is that since materials have been provided for reference, but you still don't look at them because of the excuse of tight time, then no matter how long you wait, it will still be zero and there will be no result. The key is still up to you yourself.
|

Windows 一键还原
http://www.yjhy.com |
|
2007-8-15 21:29 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
2星期不够,可以3星期,4星期。当然你也可以选择放弃,那是你的自由。
Two weeks are not enough, you can take 3 weeks, 4 weeks. Of course, you can also choose to give up, that's your freedom.
|

Windows 一键还原
http://www.yjhy.com |
|
2007-8-15 21:30 |
|
|
feelam
初级用户
 
积分 38
发帖 17
注册 2007-8-4
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
Originally posted by lianjiang2004 at 2007-8-15 09:30 PM:
2星期不够,可以3星期,4星期。当然你也可以选择放弃,那是你的自由。
恩。这个我会继续慢慢学下去的。不过一切还得完成手头上的任务为先。
其实我有下载过你的GGHOST,不过对我来说。暂时还是太复杂了。还得加强我的基础知识
Originally posted by lianjiang2004 at 2007-8-15 09:30 PM:
Two weeks is not enough, can be three weeks, four weeks. Of course, you can also choose to give up, that's your freedom.
Well. I will continue to learn slowly. But everything still has to be based on completing the tasks at hand first.
In fact, I have downloaded your GGHOST, but for me. It's still too complicated for the time being. I still need to strengthen my basic knowledge
|
|
2007-8-15 22:18 |
|