如何使用动态命令行参数托管exe [英] how to host an exe with a dynamic commandline parameter
本文介绍了如何使用动态命令行参数托管exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个安装程序exe,它将channel_id参数作为命令行参数并使用它。
对于不同的下载和安装,channel_id可能有所不同。
我想以某种方式将我的安装程序exe托管在Web上,以便在下载并执行(通过双击)该channel_id时以某种方式将其传递给它,这应该等同于使用channel_id在cmd中运行安装程序exe
I have an installer exe which takes a channel_id param as a command line parameter and uses it. The channel_id may be different for different downloads and installs. I want to host my installer exe on web in such a way that when it's downloaded and executed (by double clicking) the channel_id is passed to it in someway ,which should be equivalent to running the installer exe in cmd with channel_id as below.
cmd> myinstaller.exe channel_id
。
怎么可能呢?
推荐答案
您可以将数据追加到.exe文件的末尾。
这篇关于如何使用动态命令行参数托管exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文