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-24 06:50
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Original] Detailed Explanation of Variable Delay (Recommended for Beginners) View 24,465 Replies 111
Floor 31 Posted 2007-03-31 04:37 ·  中国 上海 浦东新区 电信
中级用户
★★
Credits 302
Posts 138
Joined 2007-03-29 02:33
19-year member
UID 83224
Gender Male
Status Offline
Not bad, learned something. Finally understand the meaning of the delay variable.
Floor 32 Posted 2007-04-02 12:44 ·  中国 江苏 无锡 江阴市 电信
初级用户
Credits 24
Posts 11
Joined 2007-03-30 13:56
19-year member
UID 83405
Gender Male
Status Offline
I just took a rough look first, left a mark, and will study it carefully when I have time!
Floor 33 Posted 2007-04-02 13:17 ·  中国 江苏 无锡 江阴市 电信
初级用户
Credits 24
Posts 11
Joined 2007-03-30 13:56
19-year member
UID 83405
Gender Male
Status Offline
It replaces "S" with "o w" (note that there is a space before S and before w)

Is it wrong?
Should it be replacing "o w" with " S"?
Floor 34 Posted 2007-04-02 22:18 ·  中国 广东 中山 电信
初级用户
Credits 128
Posts 16
Joined 2007-01-26 04:00
19-year member
UID 77697
Gender Male
Status Offline
Originally posted by fd2000 at 2007-4-2 12:17 AM:

Is there a mistake?
Should it be replacing "o w" with " S"?


I'm sorry, it's a mistake. Hehe! It's a grammatical error in writing. Just delete the word "为".

[ Last edited by nforce1 on 2007-4-2 at 09:25 AM ]
Floor 35 Posted 2007-04-03 02:55 ·  中国 河南 郑州 电信
新手上路
Credits 5
Posts 3
Joined 2007-03-23 23:13
19-year member
UID 82692
Gender Male
Status Offline
I like the LZ. Strong. China DOS Union is fortunate. Learned.
Floor 36 Posted 2007-04-03 08:51 ·  中国 安徽 合肥 电信
初级用户
Credits 47
Posts 16
Joined 2007-04-02 09:47
19-year member
UID 83710
Gender Male
Status Offline
That's really great! I'm just looking for something in this area! Up!!!
Floor 37 Posted 2007-04-03 09:20 ·  德国
初级用户
Credits 36
Posts 14
Joined 2007-03-31 17:31
19-year member
UID 83522
Gender Male
Status Offline
Floor 38 Posted 2007-04-07 06:25 ·  中国 安徽 合肥 电信
初级用户
Credits 27
Posts 15
Joined 2007-03-24 05:59
19-year member
UID 82744
Gender Male
Status Offline
It has been bothering me all the time.
Floor 39 Posted 2007-04-10 19:13 ·  中国 天津 电信
初级用户
Credits 58
Posts 25
Joined 2006-11-29 13:11
19-year member
UID 72096
Gender Male
Status Offline
CODE:
--------------------------------------------------------------------------------

@echo off
set mm=girl&echo %mm%
pause


Why does this example in the text always display girl correctly when I test it? But the author said that this example is wrong because it will display ECHO is off

[ Last edited by logictianjin on 2007-4-10 at 06:15 AM ]
Floor 40 Posted 2007-04-10 22:39 ·  中国 广东 中山 电信
初级用户
Credits 128
Posts 16
Joined 2007-01-26 04:00
19-year member
UID 77697
Gender Male
Status Offline
Originally posted by logictianjin at 2007-4-10 06:13 AM:
CODE:
--------------------------------------------------------------------------------

Why does the example in the text always display "girl" correctly when I test it? And the author said that this example is wrong so it will display "ECHO is off"


Please save this example as a.BAT file and double-click to run it~! For example, TEST.BAT
Here we are discussing batch variable delay. You should input this sample code in the CMD window to get the situation you mentioned!

[ Last edited by nforce1 on 2007-4-10 at 09:42 AM ]
Floor 41 Posted 2007-04-20 02:25 ·  中国 上海 电信
新手上路
Credits 13
Posts 8
Joined 2007-04-17 00:54
19-year member
UID 85416
Gender Male
Status Offline
Not bad, thank you the owner.
Floor 42 Posted 2007-04-22 05:36 ·  中国 陕西 西安 电信
初级用户
★★
Credits 112
Posts 50
Joined 2007-04-15 00:59
19-year member
UID 85191
Gender Male
Status Offline
Good post, learned something!
Floor 43 Posted 2007-04-27 09:45 ·  中国 广东 惠州 电信
新手上路
Credits 10
Posts 5
Joined 2006-12-01 12:21
19-year member
UID 72277
Gender Male
Status Offline
Good stuff, I've been looking for it for a long time
Floor 44 Posted 2007-04-29 07:06 ·  中国 北京 联通
新手上路
Credits 14
Posts 6
Joined 2007-04-28 05:47
19-year member
UID 86746
Gender Male
Status Offline
Hard work, LZ!
Learned it, thanks!
Floor 45 Posted 2007-05-02 15:21 ·  中国 云南 昆明 电信
初级用户
Credits 57
Posts 29
Joined 2006-12-27 09:36
19-year member
UID 74694
Gender Male
Status Offline
LZ. So powerful! A literacy post. It's more suitable for us blind people. Hehe.
Forum Jump: