2021-04-27同一目录下批量解压压缩文件

@echo off
set WinRAR="C:\Program Files\WinRAR\WinRAR.exe"
for /r . %%a in (*.rar *.zip) do ( 
cd "%%~pa" 
%WinRAR% x "%%a" 
del "%%a"
)

你可能感兴趣的:(2021-04-27同一目录下批量解压压缩文件)