永发信息网

会批处理的帮下忙啊!

答案:1  悬赏:50  手机版
解决时间 2021-05-18 01:29
  • 提问者网友:战魂
  • 2021-05-17 06:17

下面这个是什么意思?????

@echo off
set temp=E:
set flag=1
set Long=10000
set bakfile=%temp%\JSZF.kdbak
set bakfilebak=%temp%\JSZFbak.kdbak
set bakfilebakkd=%temp%\JSZFbakbak.kdbak
cd.>%bakfile%
cd.>%bakfilebak%
for /f %%i in (JSZF.txt) do (
set JSZF=%%i
call :tab5
)
goto :tab6
echo error5 && pause && exit
:tab5
SETLOCAL ENABLEDELAYEDEXPANSION
for /l %%i in (0,1,%Long%) do if "!JSZF:~%%i,1!"=="" set LG=%%i && goto :tab7
goto :end
echo error6 && pause && exit
:tab6
copy %bakfile% %bakfilebak% >nul 2>nul
for /f %%i in (%bakfile%) do (
cd.>%bakfilebakkd%
set flaga=%%i
for /f %%j in (%bakfilebak%) do (
set flagb=%%j
call :tab3
)
>>%bakfilebakkd% echo %%i
copy %bakfilebakkd% %bakfilebak% >nul 2>nul
)
copy %bakfilebak% %bakfile% >nul 2>nul
del /f /s /q %bakfilebak% >nul 2>nul
del /f /s /q %bakfilebakkd% >nul 2>nul
goto :tab4
echo error3 && pause && exit
:tab3
if "%flaga%"=="%flagb%" goto :nowrite
>>%bakfilebakkd% echo %flagb%
:nowrite
goto :end
echo error4 && pause && exit
:tab4
set flagb=
for /f %%i in (%bakfile%) do (
set flaga=%%i
call :tab1
)
)
goto :tab2
echo error0 && pause && exit
:tab1
set flagb=%flagb%%flaga%
goto :end
echo error1 && pause && exit
:tab2
>角色字符.txt echo %flagb%
del /f /s /q %bakfile% >nul 2>nul
goto :tab8
echo error7 && pause && exit
:tab7
set /a LG=%LG%-1
for /L %%j in (0,1,%LG%) do (
call >>%bakfile% echo %%JSZF:~%%j,1%%
)
goto :end
echo error8 && pause && exit
:tab8
:end

最佳答案
  • 五星知识达人网友:舊物识亽
  • 2021-05-17 07:42



此类专业的问题最好找相关的论坛发贴问下好点!



例如


批处理之家

我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯