如何从Linux命令行运行.exe可执行文件? [英] How to run .exe executable file from linux command line?
本文介绍了如何从Linux命令行运行.exe可执行文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Windows中有一个abc.exe可执行文件.我能够使用DOS命令promt执行此应用程序,并为其提供一些运行时变量.
I have one abc.exe executable file in windows. I am able to execute this application using DOS command promt and give some run-time variable to it.
我想从终端在Linux系统中做同样的事情.
I want to do same in linux system from terminal.
我该怎么做?
推荐答案
Windows EXE文件通常无法在Linux上运行.不过,使用wine
模拟MS Windows可能会成功:
Windows EXE files usually can't run on Linux. You might be successful with wine
which emulates MS Windows, though:
wine abc.exe
运行时变量是什么意思?命令行参数还是环境变量?
What do you mean by a runtime variable? A command line argument, or environment variable?
这篇关于如何从Linux命令行运行.exe可执行文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文