How to run .exe executable file from linux command

2019-04-10 17:07发布

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??

2条回答
一夜七次
2楼-- · 2019-04-10 17:48

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.

查看更多
劫难
3楼-- · 2019-04-10 17:54

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?

查看更多
登录 后发表回答