批处理解压
我有个压缩文件zip格式的,电脑上安装了7-zip,怎样写命令语句啊,把文件在当前路径下解压,麻烦高手帮我解答下
[解决办法]
shell "7z e myfile.zip"
[解决办法]
@echo offif EXIST tmppath del tmppathreg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\WinRAR.exe" /v path>>tmppathfor /f "tokens=1,2,* delims= " %%j in ('findstr "path" tmppath') do set WinRAR=%%lif EXIST tmppath del tmppathfor /f "delims=" %%i in ('dir "%1\*.rar" /s /a /b') do (echo 正在解压 "%%i""%WinRAR%\rar" x -u "%%i" "%%~dpni\")clsPAUSE>nulexit