일괄 처리 가 PC 방 압축 파일 을 실현 하 다.
@echo off
color 0a
cls
set =\\game\ $
echo. ...
@net use J: "% %"
if exist J:\ goto nno
echo , .
pause>nul
exit
:nno
@net use /del J: >nul
:koko
cls
echo ! , 。 。
echo ---------------------------------------------------
set/p = :
echo ---------------------------------------------------
if % % geq 1 goto start
echo MSGBox " , !",48," :" >nos.vbs &&call nos.vbs &&del nos.vbs &&goto koko
:start
set |findstr "\<%search%\>" >nul
set search=% % >nul
echo 『% %』
echo ........
if exist % %\% % goto pass >nul
if not exist % %\% % goto md >nul
:pass
rem
set errorlevel=>nul
echo → 『% %』 , :
echo ---------------------------------------------------
set/p = :
if % % geq 1 goto yes
echo MSGBox " , !",48," :" >nos.vbs &&call nos.vbs &&del nos.vbs &&call %0
:yes
set |findstr "\<%pass%\>" >nul
set pass=% % >nul
if errorlevel=1 cls &&echo MSGBox " , !!^_^",48," :" >kong.vbs &&call kong.vbs &&del kong.vbs &&call %0
if exist % %\% %\pass\% % goto login >nul
if not exist % %\% %\pass\% % echo MSGBox " ! !!",48," :" >run.vbs &&call run.vbs &&del run.vbs &&call %0
:login
echo MSGBox " ~! ! ! ** !***^_^",48," :" >ys.vbs &&call ys >nul &&del ys.vbs
cls
echo .......
echo 【 】
NET USE u: /DELETE /YES >nul
net use u: % %\% % /YES >nul
@explorer.exe u:\
exit
:md
echo , ?
echo.
echo A: B:
echo.
set /p tw= >nul
if "%tw%"=="a" goto yesok
if "%tw%"=="A" goto yesok
if "%tw%"=="b" goto koko
if "%tw%"=="B" goto koko
:yesok
set errorlevel=>nul
echo :
echo ---------------------------------------------------
echo.
set/p = :
if % % geq 1 goto oks
echo MSGBox " , !",48," :" >run.vbs &&call run.vbs &&del run.vbs &&goto yesok
:okss
set /p 0= :
if "% 0%"=="% %" goto okss
echo MSGBox " , !",48," :">no.vbs &&call no.vbs &&del no.vbs &&goto yesok
goto :yesok
:okss
set |findstr "\<%pass%\>" >nul
set pass=% % >nul
if errorlevel=1 cls &&echo MSGBox " , !!^_^",48," :" >run.vbs &&call run.vbs &&del run.vbs &&call %0
md % %\% % >nul
md % %\% %\pass
attrib +h +s % %\% %\pass
attrib +h +s % %\% %
md % %\% %\pass\% %
echo MSGBox " ~! 【 】 , !~*_^",48," :" >run.vbs &&call run.vbs &&del run.vbs >nul
cls
echo .......
echo 【 】
NET USE u: /DELETE /YES >nul
net use u: % %\% % /YES >nul
@explorer.exe u:\
exit