在powershell中使用7z解压文件 [英] unzip file using 7z in powershell

查看:60
本文介绍了在powershell中使用7z解压文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在powershell中使用7z解压文件的命令是什么?

What is the command to unzip a file using 7z in powershell?

set-alias sz "$env:ProgramFiles7-Zip7z.exe"
sz x  $zipfilePath $destinationUnzipPath -aoa -r;

该命令工作正常,但它说没有要处理的文件,一切正常而不是解压缩文件?

The command works fine but it says no files to process, everything is Ok rather than unzipping the file?

推荐答案

这终于对我有用了 sz x -o$destinationUnzipPath $zipfilePath -r ;

这篇关于在powershell中使用7z解压文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆