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-01 12:16
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Very good tutorial on for. After reading this, you're guaranteed to know how to use for View 6,695 Replies 20
Floor 16 Posted 2008-12-14 14:30
初级用户
Credits 34
Posts 36
Joined 2008-12-11 17:21
17-year member
UID 133562
Gender Male
Status Offline
It's written so well. For beginners like us, it's just like: Hearing your words is better than reading ten years of books!
Thank you!
Thank you!
Thank you!
爱死DOS亦无悔!
Floor 17 Posted 2008-12-15 15:06 ·  中国 贵州 安顺 电信
初级用户
Credits 94
Posts 49
Joined 2008-12-14 20:47
17-year member
UID 133884
Gender Male
Status Offline
And how to apply

FOR /F ["options"] %%i IN ("string") DO command
FOR /F ["options"] %%i IN ('command') DO command
Floor 18 Posted 2008-12-20 13:45 ·  中国 福建 福州 电信
新手上路
Credits 2
Posts 1
Joined 2008-12-13 18:26
17-year member
UID 133771
Gender Male
Status Offline
I also give a little support. Without for in batch processing, it would lose its soul
Floor 19 Posted 2008-12-22 16:15 ·  中国 福建 福州 台江区 电信
初级用户
★★
Credits 119
Posts 59
Joined 2008-11-21 14:07
17-year member
UID 131656
Gender Male
Status Offline
Floor 20 Posted 2008-12-26 13:12 ·  中国 广东 佛山 电信
新手上路
Credits 1
Posts 1
Joined 2008-12-24 13:17
17-year member
UID 134801
Gender Female
Status Offline
Thanks a lot, I've learned something new again
Floor 21 Posted 2008-12-26 17:45 ·  中国 北京 科技网
初级用户
Credits 32
Posts 12
Joined 2007-03-22 06:00
19-year member
UID 82528
Gender Male
Status Offline
Reviewed one article, really gained a lot! Thank you very much, the original poster
Forum Jump: