How to run .exe executable file from linux command line? [closed]

陌路散爱 提交于 2020-01-13 05:07:32

问题


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.

I want to do same in linux system from terminal.

How can I do this??


回答1:


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?




回答2:


chorobas answer is correct, Linux cannot directly run .exe files however with third part software like wine, or running a windows vm to execute your file.



来源:https://stackoverflow.com/questions/24452447/how-to-run-exe-executable-file-from-linux-command-line

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!