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

39,092

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

Solution 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.

Share:
39,092
shail korat
Author by

shail korat

Updated on June 28, 2020

Comments

  • shail korat
    shail korat almost 4 years

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