gpt4 book ai didi

windows - 如何从命令行中提取自解压 exe

转载 作者:可可西里 更新时间:2023-11-01 13:16:14 25 4
gpt4 key购买 nike

有没有办法从 Windows 命令行中提取自解压 exe?

我有一个 RAR 类型的自解压 exe。我只想在 Windows 的帮助下提取此 RAR 的内容,而不使用任何其他有助于提取的工具(如 7zip、Unrar 等)。此外,我只想从命令行执行此操作。

Windows 中是否有任何实用程序可用于从命令行提取自解压 exe 文件?

最佳答案

您可以使用以下一个或多个 RAR SFX(自解压存档)选项来获得自解压 RAR 存档来执行您想要的操作:

GUI self-extracting modules support following command line switches:

  -d<path>     set the destination path
-p<pwd> specify a password
-s silent mode, hide all
-s1 same as -s
-s2 silent mode, hide start dialog
-sp<par> specify parameters for setup program

我不确定这些选项中的任何一个是否会禁止运行 SFX 配置为运行的安装程序。

关于windows - 如何从命令行中提取自解压 exe,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9194589/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com