- @echo off
- cd /d %~dp1
- ren "%~nx1" 1.txt
- type 1.txt >1
- ren 1.txt "%~nx1"
- ren 1 "★%~nx1"
-
- for /f "tokens=2 delims==" %%a in ('ftype^|find "WinRAR"') do (
- set "rar=%%a"
- goto :next
- )
-
- :next
- "%rar%" a -ibck -v838860 -ep1 -ilogc:.\rar.log -inul "%~nx1" "★%~nx1"
复制代码
|