联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
@echo off setlocal enabledelayedexpansion set count=1 set /p str=<"1.txt" :begin >>"1.txt" echo.%str% set /a count+=1 if !count! leq 10 goto :begin
Originally posted by HAT at 2008-8-26 09:20 PM:@echo off setlocal enabledelayedexpansion set count=0 set /p str=<"1.txt" :begin >>"1.txt" echo.%str% set /a count+=1 if !count! leq 10 goto :begin
@echo off setlocal enabledelayedexpansion set count=0 set /p str=<"1.txt" :begin >>"1.txt" echo.%str% set /a count+=1 if !count! leq 10 goto :begin