如何从命令行提取自解压的exe

如何从命令行提取自解压的exe

本文介绍了如何从命令行提取自解压的exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以从Windows的命令行中提取自解压的exe?

Is there a way to extract a self extracting exe from commandline in windows?

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

I have a self extracting exe which is of type RAR. I want to extract the contents of this RAR only with the help of windows and not using any other tools (like 7zip, Unrar etc) which helps to extract. Also, I want to do it from the command line only.

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

Are there any utilities in windows which I can use to extract the self extracting exe file from commandline?

推荐答案

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

You might be able to get the self-extacting RAR archive to do what you want with one or more of the following RAR SFX (self-extracting archive) options:

  -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配置为运行的安装程序.

I'm not sure if any of these options will suppress running a setup program that the SFX is configured to run.

这篇关于如何从命令行提取自解压的exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 03:46