作者热门文章
- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
有没有办法从 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/
我是一名优秀的程序员,十分优秀!