复制代码
- @echo off & setlocal ENABLEDELAYEDEXPANSION
- pushd D:\2
- set q=0123456789
- for /r . %%i in (*.rar) do (
- for /l %%a in (1 1 16) do (set /a a=!random!%%10&call set aaa=%%q:~!a!,1%%!aaa!)
- echo !aaa!|"C:\Program Files\WinRAR\Rar.exe" c "%%i"
- set aaa=
- )
- pause
欢迎光临 批处理之家 (http://www.bathome.net/) | Powered by Discuz! 7.2 |