通过命令行执行时从 7z 存档中提取失败

发布于 2024-10-11 13:22:56 字数 121 浏览 10 评论 0原文

我下载了一个 7z 存档,需要密码才能提取存档内容。我使用了命令 7z -e archive.7z

失败并出现以下错误: 错误:命令行不正确。

谁能告诉我提取文件的命令。提前致谢。

I downloaded a 7z archive which needs a password to extract the contents of the archive. I used the command
7z -e archive.7z

It failed with the following error:
error: Incorrect command line.

Can anyone tell me command to extract the file. Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

平生欢 2024-10-18 13:22:56

7z e archive.7z

去掉破折号。

7z e archive.7z

Lose the dash.

二货你真萌 2024-10-18 13:22:56

设置提取密码与设置存档密码类似
(密码为PWD)

7z e -pPWD archive.zip

setting password for extraction is similar to setting password for archiving
(password is PWD)

7z e -pPWD archive.zip
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文