- @echo off
- rem 批处理保存为ansi编码格式
-
- set input=d:\a
-
- cd /d "%~dp0"
- set output=%input%_加密
- robocopy "%input%" "%output%" /s
- pushd "%output%"
- for /f "delims=" %%i in ('dir /b /s /a-d') do (
- "%~dp0luac.exe" -s -o "%%~dpni.luac" "%%i"
- "%~dp0encrypt.exe" "%%~dpni.luac"
- del "%%~dpni.luac"
- )
- popd
- pause
复制代码
|