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-07-31 19:49
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Multi-line backtracking - QQ:309254515 趣味东 View 1,094 Replies 2
Original Poster Posted 2010-02-07 00:19 ·  中国 河南 郑州 联通
初级用户
★★
Credits 161
Posts 56
Joined 2007-10-01 00:42
18-year member
UID 98672
Gender Male
Status Offline
Floor 2 Posted 2010-02-07 03:16 ·  中国 湖南 株洲 电信
金牌会员
★★★★
永远的学习者
Credits 3,105
Posts 1,276
Joined 2008-03-08 13:00
18-year member
UID 112398
Gender Male
Status Offline
Multi-line backtracking has now been implemented with control; the link is below:
http://www.bathome.net/viewthread.php?tid=7137&page=1&extra=page%3D1
批处理之家新域名:www.bathome.net
Floor 3 Posted 2010-02-07 08:45 ·  中国 河南 郑州 联通
初级用户
★★
Credits 161
Posts 56
Joined 2007-10-01 00:42
18-year member
UID 98672
Gender Male
Status Offline

@echo off&退回原点
setlocal enabledelayedexpansion
for /l %%i in (1,1,1000) do set ht=!ht!
for /l %%i in (1 1 20) do echo,
echo.end-qwd
echo, !ht! 2>nul
set/p=<nul
set/p=原点
pause>nul

Forum Jump: