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-06-29 09:29
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Discussion] Comparison between Batch Scripts and Programming Languages View 5,940 Replies 26
Floor 16 Posted 2007-01-29 22:45 ·  中国 浙江 丽水 松阳县 电信
初级用户
Credits 39
Posts 20
Joined 2007-01-24 01:56
19-year member
UID 77471
Gender Male
Status Offline
It really looks quite similar
Floor 17 Posted 2007-01-30 04:08 ·  中国 山东 济南 电信
初级用户
Credits 125
Posts 44
Joined 2007-01-24 15:31
19-year member
UID 77555
Gender Female
Status Offline
Learning a language is like learning a musical instrument; once you grasp one aspect, everything becomes easy.
Floor 18 Posted 2007-01-30 06:35 ·  中国 山西 运城 联通
银牌会员
★★★
天的白色影子
Credits 2,343
Posts 636
Joined 2004-03-06 00:00
22-year member
UID 19350
Gender Male
Status Offline
In fact, batch processing is more similar to Basic. For example, set, for example, goto. Because there is a great degree of kinship. At the same time, they both essentially belong to interpreted languages. I believe that when Bill designed the batch processing syntax, he probably referred to the design ideas of a lot of Basic.
Floor 19 Posted 2007-01-30 07:39 ·  中国 广东 广州 天河区 电信
金牌会员
★★★★
一叶枝头,万树皆春
Credits 2,564
Posts 1,127
Joined 2006-12-25 22:57
19-year member
UID 74552
Gender Male
Status Offline
In the early days, it was mostly BASIC. After the 2000s, it has been increasingly aligning with C, and also has some characteristics of command lines in other operating systems.

These days I'm researching RouterOS. Because I have the foundation of CMD before, I got started very quickly. I could complete the configuration in the command line on the first day.

I think the difference between batch processing and high-level languages lies in its overall concept. Although I can't explain it clearly, this concept indeed spans most platforms.
Floor 20 Posted 2007-01-30 11:05 ·  中国 江西 南昌 电信
银牌会员
★★★
天的白色影子
Credits 2,343
Posts 636
Joined 2004-03-06 00:00
22-year member
UID 19350
Gender Male
Status Offline
Router OS?

Is it VRP or IOS?

I'm still completely in the dark about them

It doesn't seem to be about the usage of the command line

But about the relationship between concepts and operations

So far, I've only simply configured Telnet/VLAN/PPP and so on

Still far from being a Network Engineer
Floor 21 Posted 2007-01-30 12:32 ·  中国 北京 朝阳区 联通
高级用户
★★
朦胧的世界
Credits 579
Posts 218
Joined 2006-10-24 04:29
19-year member
UID 67972
Status Offline
In fact, programming is a special kind of mathematics. Once the concepts and methods are grasped, it will be much easier to solve problems. The differences in programming languages can also be seen as differences in "formula" writing and structure, and differences in refinement.

认识自己,降伏自己,改变自己
,才能改变别人!
Floor 22 Posted 2007-02-01 01:38 ·  中国 湖南 长沙 联通
社区乞丐
★★
gaoshou
Credits -16
Posts 77
Joined 2007-01-30 09:11
19-year member
UID 78105
Gender Male
Status Offline
I strongly agree. When I started learning C/C++, I found that the two languages are almost similar. Later, I started to get in touch with P processing. As a result, the syntax and usage can be said to have no great differences.
:cool:
Floor 23 Posted 2007-03-12 12:29 ·  中国 湖北 黄冈 电信
高级用户
★★★
Credits 894
Posts 411
Joined 2007-02-17 12:15
19-year member
UID 79697
Gender Male
Status Offline
It feels that what the 19th floor said is quite good.
@set c= 不知则觉多,知则觉少,越知越多,便觉越来越少. --- 知多少.
@for,/l,%%i,in,(1,1,55)do,@call,set/p=%%c:~%%i,1%%<nul&ping/n 1 127.1>nul


Floor 24 Posted 2007-03-12 23:07 ·  中国 安徽 芜湖 电信
高级用户
★★★
Credits 866
Posts 415
Joined 2005-12-04 11:19
20-year member
UID 46459
Status Offline
Personally, I feel that C language is most similar to batch processing. I learned C language a few years ago, and now I've forgotten most of it.
Floor 25 Posted 2007-03-21 08:18 ·  中国 北京 雅虎中国
中级用户
★★
菜鸟总动员
Credits 259
Posts 112
Joined 2006-08-28 15:53
19-year member
UID 61454
Status Offline
The insights on functions are quite powerful
Floor 26 Posted 2010-06-26 09:51 ·  中国 四川 成都 电信
新手上路
Credits 19
Posts 20
Joined 2010-05-09 20:11
16-year member
UID 166476
Gender Male
Status Offline
Floor 27 Posted 2010-06-26 11:30 ·  中国 广东 深圳 电信
新手上路
Credits 1
Posts 1
Joined 2010-06-25 15:02
16-year member
UID 169515
Gender Male
Status Offline
Newcomer, come in and learn!
Forum Jump: