Google
      
发新话题
打印

批量解压rar文件

批量解压rar文件

@echo on
color 0a
title 批量解压rar文件
@pause
rem 在注册表中读取winrar的安装目录

if EXIST tmp.tmp del tmp.tmp
reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\WinRAR.exe" /v path>>tmp.tmp
for /f "tokens=1,2,* skip=4 delims= " %%j in ('more tmp.tmp') do set WinRAR=%%l
if EXIST tmp.tmp del tmp.tmp

for /f "delims=" %%i in ('dir /b') do  "%WinRAR%\rar" a -r %%~ni.rar %%i
exit
好不容易忙完,现在总算有点时间了。不能及时回答大家的问题,还请大家多多包函。
勇于思考,敢于行动,不逃避问题。
业务联系:dvd制作,各种系统、平面广告设计、3D设计,电脑专业维修,网络组建,MTV个人像册、视频处理!
电话:13423195467

TOP

发新话题