China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-12 10:14
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » Who can deeply explain about if, for, set, % View 14,297 Replies 61
Original Poster Posted 2007-01-16 04:25 ·  中国 重庆 南岸区 电信
新手上路
Credits 16
Posts 6
Joined 2007-01-16 03:09
19-year member
UID 76630
Gender Male
Status Offline
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 ]
Floor 2 Posted 2007-01-16 04:42 ·  中国 四川 成都 联通
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
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'>"
Floor 3 Posted 2007-01-16 04:45 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
20-year member
UID 59080
Status Offline

  The above is correct, and I strongly agree.
Floor 4 Posted 2007-01-16 05:15 ·  中国 湖北 武汉 教育网
初级用户
★★
Credits 129
Posts 54
Joined 2007-01-04 01:03
19-year member
UID 75376
Gender Male
From 武大信息学部
Status Offline
Not bad. Self-study is very important.... Guidance from experts and spiritual sustenance.... Up!
Floor 5 Posted 2007-01-16 05:40 ·  中国 重庆 南岸区 电信
新手上路
Credits 16
Posts 6
Joined 2007-01-16 03:09
19-year member
UID 76630
Gender Male
Status Offline
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 ^_^
Floor 6 Posted 2007-01-16 05:45 ·  中国 北京 联通
银牌会员
★★★
努力做坏人
Credits 1,185
Posts 438
Joined 2006-08-28 12:00
19-year member
UID 61449
From 北京
Status Offline
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.
我今后在论坛的目标就是做个超级坏人!!!
Floor 7 Posted 2007-01-20 00:27 ·  中国 云南 大理白族自治州 大理市 电信
新手上路
Credits 3
Posts 2
Joined 2007-01-19 23:51
19-year member
UID 77055
Gender Male
Status Offline
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.
Floor 8 Posted 2007-01-20 02:25 ·  中国 四川 成都 教育网
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
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 ]
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
doscndu +1 2020-01-11 00:52

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'>"
Floor 9 Posted 2007-01-20 02:27 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
20-year member
UID 59080
Status Offline
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?
Floor 10 Posted 2007-01-22 11:10 ·  中国 湖南 益阳 电信
新手上路
Credits 17
Posts 10
Joined 2007-01-22 04:52
19-year member
UID 77300
Gender Male
Status Offline
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.
Floor 11 Posted 2007-01-27 00:16 ·  中国 广东 电信
新手上路
Credits 12
Posts 6
Joined 2007-01-25 05:02
19-year member
UID 77599
Gender Male
Status Offline
I just want to explain it to you. But my level is limited...
Floor 12 Posted 2007-01-29 13:06 ·  中国 浙江 温州 瑞安市 电信
初级用户
Credits 30
Posts 13
Joined 2006-08-11 12:32
20-year member
UID 60303
Status Offline
I rarely browse web pages, but here I always want to take a look again, because both you and I are here
Floor 13 Posted 2007-01-30 10:40 ·  中国 广东 江门 联通
初级用户
Credits 30
Posts 13
Joined 2006-01-06 09:50
20-year member
UID 48499
Status Offline
It's important to learn to search. In the forum, on Baidu, on Google.
Floor 14 Posted 2007-01-30 11:02 ·  中国 四川 绵阳 (三台县)电信
初级用户
Credits 26
Posts 11
Joined 2005-07-25 17:50
21-year member
UID 41048
Status Offline
C:\windows\help\ntcmds.chm

Still didn't know about this, thanks for the reminder.
Floor 15 Posted 2007-01-30 21:30 ·  中国 河南 新乡 联通
新手上路
Credits 13
Posts 7
Joined 2007-01-26 03:54
19-year member
UID 77694
Gender Male
Status Offline
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.
1 2 3 5 Next ›
Forum Jump: