qie2015 当前离线
列兵
for /f "usebackq delims=*" %%i in (NewColsing.txt) do ( >>D:\sss.txt echo,%%i echo,%%i pause )复制代码
pcl_test 当前离线
荣誉版主
TOP
@echo off setlocal enabledelayedexpansion for /f "delims=" %%a in ('type "文本.txt"') do set/a n+=1&set #!random!a!random:~-2!=%%a set t=0 :0 set/a r=!random!%%4+1 echo;读取%r%行-------------------------- call :loop %t% %r% set/a t+=%r% if %t% lss %n% goto :0 pause&exit/b :loop set s=0 for /f "tokens=1* delims==" %%a in ('set #^|more +%1') do ( set/a s+=1 echo;%%b if !s! equ %2 goto :eof ) goto :eof复制代码
评分人数