evle
1 + int rand(100); | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору --- make.cmd --- @echo off del /q bigfile del /q tmp for /L %%i in (0,1,10000) do echo str >> bigfile for /L %%i in (0,1,10) do ( copy bigfile+bigfile tmp & del /q bigfile & ren tmp bigfile) echo str1 >> tmp copy tmp+bigfile tmp2 del /q tmp ren tmp2 bigfile --- test.cmd --- @echo off echo %time% for /F %%i in ('find "str1" bigfile') do ( rem kfjdlfj ) echo %time% for /F %%i in ('find "str1" bigfile') do ( goto end ) :end echo %time% ------ |