- @Rem Made By:Bbaa
- @Echo off
- @Setlocal enabledelayedexpansion
- @Rem Demo
- MD %temp%\几十万rar压缩包批量解压\ 2>nul
-
- :Begin
- For /r %%i in (*.rar) do (
- Set "目录=%%~dpi"
- Set "目录=!目录:%Cd%=!"
- Md %temp%\几十万rar压缩包批量解压\!目录! 2>nul
- Rar x o+ %%~i %temp%\几十万rar压缩包批量解压\!目录!>nul 2>nul
- Copy /y "%temp%\几十万rar压缩包批量解压\!目录!\*.txt" "%%~dpi"
- Rd /s /q "%temp%\几十万rar压缩包批量解压\!目录!">nul 2>nul
- )
复制代码 我是好人
需要Rar.exe支持 |