EXE是否有命令行选项

EXE是否有命令行选项

本文介绍了如何找到.EXE是否有命令行选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设您有.exe,并且想要检查它是否有命令行选项。如何知道.exe是否具有这种能力。在我的情况下,我现在Nir Sofers 有能力通过cmd.exe和WebBrowserPassView启动它。 exe / stext output.txt。

解决方案

最简单的方法是使用ProcessExplorer,但它会仍需要一些搜索。



确保您的exe正在运行并打开ProcessExplorer。
在ProcessExplorer中找到您的二进制文件的名称,双击它以显示属性。
单击字符串选项卡。
搜索在二进制文件中找到的字符串列表。大多数字符串将是垃圾,所以它们可以被忽略。搜索可能类似于命令行开关的任何内容。
从命令行测试这个开关,看看是否有任何效果。



注意,这可能是你的二进制文件没有命令行开关。



下面是适用于Chrome可执行文件的上述步骤。 Chrome接受的命令行开关可以在列表中看到:


Suppose you have an .exe and you want to check if it has Command-Line Options. How can one know if the .exe has this ability. In my case I now that Nir Sofers WebBrowserPassView.exe has the ability to start it via cmd.exe and WebBrowserPassView.exe /stext output.txt. But how can I find out if I don't know?

解决方案

The easiest way would be to use use ProcessExplorer but it would still require some searching.

Make sure your exe is running and open ProcessExplorer.In ProcessExplorer find the name of your binary file and double click it to show properties.Click the Strings tab.Search down the list of string found in the binary file. Most strings will be garbage so they can be ignored. Search for anything that might possibly resemble a command line switch.Test this switch from the command line and see if it does anything.

Note that it might be your binary simply has no command line switches.

For reference here is the above steps applied to the Chrome executable. The command line switches accepted by Chrome can be seen in the list:

这篇关于如何找到.EXE是否有命令行选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-30 18:35