批处理语法:以下请详解每句意思及用法!高分! 20
@echooffcolor4a:zhuecho+++++++++++++++++++++++++++++++++echo+玲玲专用文件夹加密软件+echo+by小振(QQ...
@echo off
color 4a
:zhu
echo +++++++++++++++++++++++++++++++++
echo + 玲玲专用文件夹加密软件 +
echo + by 小振(QQ:489559641) +
echo + +
echo + 功能:1:加密 2:解密 3:退出 +
echo +++++++++++++++++++++++++++++++++
:xuanzhe
set la=
set /p la=请输入上面的功能数值:
if /i %la%==1 goto jiami
if /i %la%==2 goto jiemi
if /i %la%==3 goto exit
echo 选择错误,请重新选择
goto xuanzhe
:jiami
set lujing=
set /p lujing=请输入你要加密文件夹的路径:
echo %lujing%>qianer.txt
for /f "tokens=1 delims=: " %%i in (qianer.txt) do (
%%i:
for /f "tokens=2 delims=: " %%j in (qianer.txt) do (
cd %%j&md com1\
)
)
cd \
ren %lujing% jiami.{21EC2020-3AEA-1069-A2DD-08002B30309D}
echo 加密完成! (*^__^*)
pause
cls
goto zhu
:jiemi
set jielu=
set /p jielu=请输入你要解密的文件夹路径:
set /p mima=请输入解密密码:
if /i %mima%==lianan goto a
echo 密码错误,不能解密哦 ~(>_<)~
pause
cls
goto zhu
:a
ren %jielu%.{21EC2020-3AEA-1069-A2DD-08002B30309D} jiemi
echo 解密完成! (*^__^*)
pause
cls
goto zhu
:exit
exit 展开
color 4a
:zhu
echo +++++++++++++++++++++++++++++++++
echo + 玲玲专用文件夹加密软件 +
echo + by 小振(QQ:489559641) +
echo + +
echo + 功能:1:加密 2:解密 3:退出 +
echo +++++++++++++++++++++++++++++++++
:xuanzhe
set la=
set /p la=请输入上面的功能数值:
if /i %la%==1 goto jiami
if /i %la%==2 goto jiemi
if /i %la%==3 goto exit
echo 选择错误,请重新选择
goto xuanzhe
:jiami
set lujing=
set /p lujing=请输入你要加密文件夹的路径:
echo %lujing%>qianer.txt
for /f "tokens=1 delims=: " %%i in (qianer.txt) do (
%%i:
for /f "tokens=2 delims=: " %%j in (qianer.txt) do (
cd %%j&md com1\
)
)
cd \
ren %lujing% jiami.{21EC2020-3AEA-1069-A2DD-08002B30309D}
echo 加密完成! (*^__^*)
pause
cls
goto zhu
:jiemi
set jielu=
set /p jielu=请输入你要解密的文件夹路径:
set /p mima=请输入解密密码:
if /i %mima%==lianan goto a
echo 密码错误,不能解密哦 ~(>_<)~
pause
cls
goto zhu
:a
ren %jielu%.{21EC2020-3AEA-1069-A2DD-08002B30309D} jiemi
echo 解密完成! (*^__^*)
pause
cls
goto zhu
:exit
exit 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询