尝试在命令行中以静默方式执行自解压zip文件 [英] Trying to execute self extracting zip file silently in command line

查看:480
本文介绍了尝试在命令行中以静默方式执行自解压zip文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这些自解压缩的zip文件,我试图在2008/7机器上远程解压缩.但是它们以.exe的方式出现,它要求用户双击并选择提取位置.

在WinZip支持网站上,他们说使用/auto标志,因此命令如下所示:

C:\ deploy \ .exe/auto C:\ path \\

它在任务管理器中启动了进程,但是却一直停留在那里.

当我在文本编辑器中打开文件时,它显示:!该程序无法在DOS模式下运行.

因此,也许你们中的任何人都知道我如何能够自动以静默方式自动提取自我提取文件.也许有一种方法可以将它们与答案文件一起运行.

谢谢

解决方案

我知道它比较老,但是我只是发现此页面试图做同样的事情(对于无声驱动程序安装)

上面的OP可以很好地工作.

例如,我的行是:

UPS_319_117.exe /auto .\upstemp\

(这是在使批处理文件创建upstemp文件夹之后).我的猜测是路径错误,所以自解压在OP的情况下出错了,或者是类似的事情,它挂了电话,等待输入,因为它处于自动模式就不会发生...

I have these self extracting zip files that I'm trying to extract on 2008/7 machines remotely. But they are coming in a way of .exe and it require user to double click and choose the extractions location.

On WinZip support site they saying to use the /auto flag so the command will look like that:

C:\deploy\.exe /auto C:\path\\

It starts the process in the task manager but it stuck there foever.

When I'm opening the file in text editor it says: !This program cannot be run in DOS mode.

So maybe anyone of you know how I can automate the extraction of the self extraction file silently. Or maybe there is a way to run them with answer file.

Thanks

解决方案

I know this is older, but I just found this page trying to do the same thing (for a silent driver install)

What the OP put up above works fine.

For example, my line was:

UPS_319_117.exe /auto .\upstemp\

(This was after having the batch file create the upstemp folder). My guess is either the path was wrong so the self-extracting hit an error in the OP's case, or something along those lines and it just hung up waiting for input that wouldn't happen since it was in auto mode...

这篇关于尝试在命令行中以静默方式执行自解压zip文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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