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-20 07:02
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Understanding the interception function of variable characters in CMD View 22,970 Replies 100
Floor 61 Posted 2007-11-09 20:17 ·  中国 湖北 宜昌 电信
中级用户
★★
Credits 471
Posts 207
Joined 2007-05-03 14:53
19-year member
UID 87369
Gender Male
Status Offline
Originally posted by jk328019419 at 2007-11-9 08:10 PM:
There's no explanation of usage at all. Those who know still know, and those who don't still don't.

If you don't use your brain to think, you'll never understand.
Floor 62 Posted 2007-11-18 15:18 ·  中国 上海 浦东新区 电信
新手上路
Credits 12
Posts 5
Joined 2006-11-27 22:22
19-year member
UID 71913
Gender Male
Status Offline
Floor 63 Posted 2007-11-18 20:15 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
19-year member
UID 59080
Status Offline
Originally posted by wenjiech at 2007-11-18 15:18:
Why can't I download it?

The forum's attachment storage space has been damaged by someone. Just copy the code and save it directly.
Floor 64 Posted 2007-11-21 19:22 ·  中国 广东 广州 海珠区 电信
新手上路
Credits 6
Posts 3
Joined 2007-04-08 03:00
19-year member
UID 84338
Gender Female
Status Offline
Floor 65 Posted 2007-12-14 11:11 ·  中国 北京 丰台区 联通
新手上路
Credits 8
Posts 4
Joined 2007-12-09 10:32
18-year member
UID 105121
Gender Male
From 北京
Status Offline
Give it a support. I just fell in love with batch processing!
Floor 66 Posted 2007-12-14 13:57 ·  中国 河南 新乡 联通
新手上路
Credits 10
Posts 4
Joined 2007-12-12 23:36
18-year member
UID 105483
Gender Male
Status Offline
Floor 67 Posted 2007-12-31 00:49 ·  中国 北京 华为云
银牌会员
★★★
永远的菜鸟
Credits 1,335
Posts 574
Joined 2007-11-27 12:50
18-year member
UID 103929
Gender Male
From 广西
Status Offline
Your help is really great, thank you very much!
Floor 68 Posted 2007-12-31 19:48 ·  中国 山东 青岛 联通
初级用户
Credits 77
Posts 45
Joined 2007-08-03 17:25
18-year member
UID 94584
Gender Male
Status Offline
I didn't understand what it's for
Floor 69 Posted 2008-01-09 23:09 ·  中国 湖南 长沙 电信
初级用户
Credits 24
Posts 12
Joined 2007-12-15 18:50
18-year member
UID 105758
Gender Male
Status Offline
So it turns out that batch processing has such detailed functions
Floor 70 Posted 2008-01-20 09:43 ·  中国 福建 福州 电信
中级用户
★★
Credits 458
Posts 211
Joined 2006-07-26 19:42
19-year member
UID 59307
Status Offline
The %%a %%b behind is used to pass parameters. In a batch file, when using the call :label syntax to call a label, these %%a %%b will receive the parameters passed when the call is made.

As for echo., echo. is used to output a blank line, while echo\ is not a correct way to achieve line break in batch. So echo. is for blank line output and echo\ is incorrect.

[ Last edited by wxcute on 2008-1-20 at 10:51 AM ]
Floor 71 Posted 2008-01-22 23:16 ·  中国 上海 闵行区 电信
新手上路
Credits 12
Posts 6
Joined 2008-01-22 18:43
18-year member
UID 109284
Gender Male
Status Offline
%%a %%b are variables, assigned to %%1 %%2 in sequence.

Thank you. LZ.
Floor 72 Posted 2008-01-26 12:34 ·  中国 北京 鹏博士
中级用户
★★
Credits 206
Posts 100
Joined 2007-07-09 20:51
18-year member
UID 93566
Gender Male
Status Offline
Floor 73 Posted 2008-02-20 19:10 ·  中国 广东 广州 电信
中级用户
★★
Credits 233
Posts 117
Joined 2007-11-28 02:38
18-year member
UID 104005
Gender Male
Status Offline
I'm a super newbie, I can't understand this either, sweat
Floor 74 Posted 2008-02-21 10:44 ·  中国 黑龙江 鸡西 虎林市 联通
初级用户
Credits 25
Posts 14
Joined 2006-11-02 01:05
19-year member
UID 69226
Gender Male
Status Offline
Good stuff, thanks, learning in progress
Floor 75 Posted 2008-02-23 20:50 ·  中国 河南 南阳 电信
初级用户
Credits 61
Posts 32
Joined 2007-05-11 20:17
19-year member
UID 88214
Gender Male
Status Offline
Getstr.rar cannot be downloaded!
Forum Jump: