本帖最后由 lfoqtal 于 2011-8-14 14:43 编辑
吃螃蟹呀!
自认为不够精简,输出时间还行啦(包括空格的速度)- @echo off&setlocal enabledelayedexpansion
- for /f "skip=16 delims=" %%a in (%0) do (
- call :1 "%%a"
- set b=0&echo.
- )
- pause<nul
- goto :eof
- :1
- set "a=%~1"
- :2
- if "!a:~%b%,1!"=="" goto :eof
- set/p=!a:~%b%,1!<nul
- set /a b+=1
- for /l %%i in (1,1,100) do a 2>nul
- goto :2
-
- THEY CAME FIRST for the Coummunists,
- and I didn't speak up because I wasn' t a Communist.
-
- THEN THEY CAME for the Jews,
- and I didn't speak up because I wasn' t a Jew.
-
- THEN THEY CAME for the trade unionists,
- and I didn't speak up because I wasn' t a trade unionist.
-
- THEN THEY CAME for the Catholics,
- and I didn't speak up because I was a Protestant.
-
- THEN THEY CAME for me,
- and by that time no one was left to speak up.
-
-
-
- Pastor Martin Niemoeller
复制代码
|