
CODE: [Copy to clipboard]@echo off
rem 请放在d:\data\目录下运行
set rar_="c:\program files\winrar\rar.exe"
for %%a in (ini id nsf ndk) do (
%rar_% a temp.rar *.%%a
)
for %%a in (dgoa bmmail mail) do (
for /f "delims=" %%b in ('dir /s/b/a-d "%%a\*.*"') do (
%rar_% a -ep1 temp.rar %%b
)
)
echo.&echo 任务完成
ping -n 4 127.1>nul
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |