程序员怎样打发无聊的时光( 四 )


if "%scbh%" == "f" mode con cols=71 lines=20 \u0026amp;\u0026amp; goto zcd1
if "%scbh%" == "a" goto scjhall
if "%scbh%" LSS "1" cls \u0026amp;\u0026amp; goto scjhn1
echo 确定要删除么?确定请按回车键,修改请输入n
set /p schbqr=^\u0026gt;^\u0026gt;
if "%schbqr%" == "n" set schbqr=1 \u0026amp;\u0026amp; goto scbhxx
if "%scbhqr%" == "a" goto scjhall
if "%schbqr%" == "f" mode con cols=71 lines=20 \u0026amp;\u0026amp; goto zcd1
if "%scbhqr%" == "1 " goto sc
:sc
for /f "tokens=1 delims=|" %%i in (%zlj%jh.ini) do (
\tif ""%%i"" NEQ ""%scbh%"" (for /f "delims=" %%j in (\u0026#39;findstr /B "%%i|" %zlj%jh.ini\u0026#39;) do (echo %%j\u0026gt;\u0026gt;%zlj%jh.txt))
\t)
move %zlj%jh.txt %zlj%jh.ini
cls
echo ^\u0026gt;^\u0026gt;编号为 %scbh% 的计划删除成功
echo =======================================
goto scjhn1
mode con cols=71 lines=20
goto zcd1
:scjhall
set scbh=f
del %zlj%jh.ini
mode con cols=71 lines=20
echo 计划已全部删除 \u0026amp;\u0026amp; goto zcd2


:cjwjn
set star=1
goto cjwj

:xsx
for /f %%a in (\u0026#39;findstr /N "|" %zlj%jh.ini\u0026#39;) do (
\techo %%a\u0026gt;\u0026gt;%zlj%_jhx2.txt
)
for /f "tokens=1-4 delims=|:" %%a in (%zlj%_jhx2.txt) do ( echo %%a^|%%c^|%%d \u0026gt;\u0026gt;%zlj%_jhx.txt)
del %zlj%_jhx2.txt
move %zlj%_jhx.txt %zlj%jh.ini
if "%xsxh%"=="1 " goto ckjh
if "%xsxh%"=="2 " goto scjhn

■网友
跟大多数人一样,老婆有时间陪老婆。老婆没时间自己看剧、看书、看电视。


推荐阅读