|
cqxiaozi007
新手上路

积分 16
发帖 6
注册 2007-1-16
状态 离线
|
『楼 主』:
谁能深入讲解一下if、for、set、 %
使用 LLM 解释/回答一下
我是今天再发现这个网站的,进来后下了个bat文件的包来看,平时以为我的DOS命令学习的还可以,现在才发觉这里别有洞天啊!我要继续努力,在网上也下过一些教材,可是对if、for、set、%的讲解仍不够好,请各位大虾讲解下吧!
新增问题:
用批处理向注册表增加的命令 reg add 也讲解一下。
以前我用choice这个命令来判断输入,但功能用限,在论坛上看到用set /p来接受输入,麻烦详细讲解一下.
Last edited by cqxiaozi007 on 2007-1-15 at 03:40 PM ]
I discovered this website again today. After entering, I downloaded a package of bat files to take a look. Usually, I thought my learning of DOS commands was pretty good, but now I realize there's a whole new world here! I need to keep working hard. I've also downloaded some textbooks online, but the explanations of if, for, set, % are still not good enough. Please, all you experts, explain them.
New problem:
Also explain the command reg add for adding to the registry with batch processing.
Previously, I used the choice command to judge input, but the function was limited. I saw on the forum that set /p is used to receive input. Please explain it in detail.
Last edited by cqxiaozi007 on 2007-1-15 at 03:40 PM ]
|
|
2007-1-16 04:25 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
欢迎cqxiaozi007来到DOS联盟加入批处理的大家庭,但是请cqxiaozi007为大家想想:每个人进来都要高手给讲这个命令,那个用法,高手们累不累啊?每个人都要代码,高手们能写的过来吗?
所以,我的建议是:
1. 有问题,多搜索,个人推荐两种途径: http://www.google.com和 http://www.cn-dos.net/forum/search.php
2. 多看微软自家带的帮助 C:\windows\help\ntcmds.chm
3. 多看论坛里的老帖子,很经典的
我们的理念是:论坛里反复讨论过的话题,就不要重复拿出来FAQ了,你觉得这样好吗?
Last edited by electronixtar on 2007-1-16 at 04:44 AM ]
Welcome cqxiaozi007 to the DOS Union and join the batch processing family. But please, cqxiaozi007, think about this for everyone: is it tiring for the experts to explain this command and that usage for everyone who comes in? Can the experts write out the code for everyone?
So, my suggestions are:
1. For problems, search more. Personally, two ways are recommended: http://www.google.com and http://www.cn-dos.net/forum/search.php
2. Read more of Microsoft's own help C:\windows\help\ntcmds.chm
3. Read more of the old posts in the forum, which are very classic
Our concept is: topics that have been discussed repeatedly in the forum should not be repeatedly taken out as FAQs. Do you think this is good?
Last edited by electronixtar on 2007-1-16 at 04:44 AM ]
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2007-1-16 04:42 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
楼上正解,严重同意。
The above is correct, and I strongly agree.
|
|
2007-1-16 04:45 |
|
|
boluor
初级用户
 
积分 129
发帖 54
注册 2007-1-4 来自 武大信息学部
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
不错啊,自学很重要的....高手指点的还有精神食粮 ....顶..
Not bad. Self-study is very important.... Guidance from experts and spiritual sustenance.... Up!
|
|
2007-1-16 05:15 |
|
|
cqxiaozi007
新手上路

积分 16
发帖 6
注册 2007-1-16
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
electronixtar 说的有理啊,我也是心急啊,一下子看到这么多好的方法真想一下子吃掉^_^
electronixtar makes a valid point. I'm also impatient. At first glance, there are so many good methods, and I really want to absorb them all at once ^_^
|
|
2007-1-16 05:40 |
|
|
9527
银牌会员
     努力做坏人
积分 1185
发帖 438
注册 2006-8-28 来自 北京
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
记住:我们不是微软的技术支持,我们也是来学习的,我们不是教课的,我们也不是版主,我们就是我们,我们帮不了别人,因为我们也在学习
Remember: We are not Microsoft's technical support. We are also here to learn. We are not teaching. We are not moderators. We are just ourselves. We can't help others because we are also learning.
|

我今后在论坛的目标就是做个超级坏人!!! |
|
2007-1-16 05:45 |
|
|
chayujin
新手上路

积分 3
发帖 2
注册 2007-1-19
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
不是吧....没有回答问题还个个都在骂楼主.公平吗?这样个个都在说题问题的人,今后还有谁敢题问呢?论坛的作用就是问问题以及回答问题,哪有那么多的废话.
Come on....No one answered the question but everyone is scolding the owner. Is it fair? For those who keep talking about the problem like this, who would dare to ask questions in the future? The function of the forum is to ask and answer questions, not so much nonsense.
|
|
2007-1-20 00:27 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
各人有各人的看法而已,如果你把这个论坛当作问问题的我们也不反对。不过有一个问题我想问楼上的?凭什么我们必须回答你提出的各种问题?我们从回答问题中得到了什么实际的好处吗?我们只是一群对编程感兴趣、乐于分享知识的爱好者,但是我们对反复重复的问题感到厌倦了,if set for 这些问题已经被重复了若干次了,稍微动手搜索就能得到答案,为什么总是有人开一个新贴让高手不停的给反复解释呢?如果你是高手,每天做的事情就是把以前的帖子的内容Ctrl+C然后Ctrl+V到新帖子么?你觉得这样的“提问题的论坛”有什么意义吗?你站到我们的角度想多没有?
今后还有谁敢题问呢
我们不反对提问题,我们反对的是“反复提出早以解决,已经有现成答案的问题”。
很多问题搜索就能找到。如果你的确没有搜索到,再提出来,大家也可以讨论嘛
论坛的作用就是问问题以及回答问题,哪有那么多的废话.
说实话,我们DOS论坛能走到今天,其原因就是Climbing等一批前辈坚持论坛非技术因素的建设。如果你认为这些东西是废话,那么你大错特错了,高手也不会解决问题,但是高手知道解决问题的方法,高手也有问题,但是高手知道如何独立解决问题,这就是你和高手之间的差距,巨大的差距!
Last edited by electronixtar on 2007-1-20 at 02:41 AM ]
Everyone has their own opinions. If you regard this forum as a place to ask questions, we don't object. But there is one question I want to ask the person above: Why must we answer all the questions you raise? What practical benefits do we get from answering questions? We are just a group of enthusiasts interested in programming and willing to share knowledge, but we are tired of repeated questions. If set for, these questions have been repeated several times. A little search can get the answer. Why do some people always start a new post and let experts keep explaining repeatedly? If you are an expert, do you do nothing every day but Ctrl+C the content of previous posts and Ctrl+V to new posts? What do you think is the significance of such a "question-asking forum"? Don't you think from our perspective more?
Who will dare to ask questions in the future
We don't object to asking questions. What we object to is "repeatedly asking questions that have already been solved and have ready-made answers".
Many questions can be found by searching. If you really haven't searched and then raise them, everyone can also discuss.
The function of the forum is to ask questions and answer questions. There are so many useless words.
To be honest, the reason why our DOS forum has come to this day is that predecessors like Climbing insisted on the construction of non-technical factors of the forum. If you think these things are useless words, then you are very wrong. Experts won't solve problems, but experts know the methods to solve problems. Experts also have problems, but experts know how to solve problems independently. This is the huge gap between you and experts!
Last edited by electronixtar on 2007-1-20 at 02:41 AM ]
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2007-1-20 02:25 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
Originally posted by chayujin at 2007-1-19 11:27:
不是吧....没有回答问题还个个都在骂楼主.公平吗?这样个个都在说题问题的人,今后还有谁敢题问呢?论坛的作用就是问问题以及回答问题,哪有那么多的 ...
别人说的就是废话,你说的是什么呢?
Originally posted by chayujin at 2007-1-19 11:27:
No way....No one is answering the question and everyone is scolding the original poster. Is it fair? If everyone is like this when asking questions, who would dare to ask questions in the future? The role of the forum is to ask and answer questions. How come there are so many...
What others said is just nonsense, what are you saying?
|
|
2007-1-20 02:27 |
|
|
ylgzs
新手上路

积分 17
发帖 10
注册 2007-1-22
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
是啊,不能因为自己懒惰就要别人做这做那的,每个人在论坛上都是平等的!人家高手也是这样一步一步走过来的,为什么我们这些后来的总想一步登天啊,我看还是踏踏实实地学习方法是最重要的
Yes, you can't ask others to do this and that just because you're lazy. Everyone is equal in the forum! Those experts also came here step by step. Why do we newcomers always want to reach the top in one go? I think it's most important to study the methods steadfastly.
|
|
2007-1-22 11:10 |
|
|
huang775
新手上路

积分 12
发帖 6
注册 2007-1-25
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
偶是想为你讲解一下.可惜水平有限...
I just want to explain it to you. But my level is limited...
|
|
2007-1-27 00:16 |
|
|
cjbo168
初级用户
 
积分 30
发帖 13
注册 2006-8-11
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
很少浏览网页的我,在这总想再看一下,因为这里有你也有我
I rarely browse web pages, but here I always want to take a look again, because both you and I are here
|
|
2007-1-29 13:06 |
|
|
samual2004
初级用户
 
积分 30
发帖 13
注册 2006-1-6
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
学会搜索是很重要的。在论坛,在百度,在google。
It's important to learn to search. In the forum, on Baidu, on Google.
|
|
2007-1-30 10:40 |
|
|
sunsmile23
初级用户
 
积分 26
发帖 11
注册 2005-7-25
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
C:\windows\help\ntcmds.chm
还不知道有这个,多谢提醒。
C:\windows\help\ntcmds.chm
Still didn't know about this, thanks for the reminder.
|
|
2007-1-30 11:02 |
|
|
pacerpacer
新手上路

积分 13
发帖 7
注册 2007-1-26
状态 离线
|
『第 15 楼』:
关于回答
使用 LLM 解释/回答一下
其实高手们说的也对 从他们的角度来讲 没有义务为任何人解答问题 仅仅是凭着热情和爱好来这里聚集
但是新手们的心情也是可以理解的 既然对这个事务很感兴趣 谁不想一下子学到更多的东西 何况还是自己急于想知道的 那就更想得到答案了!
为了避免这些不必要的资源浪费 建议随时更新FAQ以便新手查阅
也是为了论坛的发展
Actually, what the experts said is also right. From their perspective, they have no obligation to answer questions for anyone. They just gather here out of passion and hobby. But the feelings of newcomers are understandable. Since they are very interested in this matter, who doesn't want to learn more things at once? Moreover, since it's what they are urgently eager to know, they even more want to get the answers! In order to avoid these unnecessary waste of resources, it is suggested to update the FAQ at any time for newcomers to consult. It is also for the development of the forum.
|
|
2007-1-30 21:30 |
|