File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to run a .exe file

 
p hasini
Ranch Hand
Posts: 92
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Linux Fedora

How do we run a .exe file on OS.

What are the commands we need to use

Can we run a binary file on Linux
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
".exe" files are executables for DOS or Windows; they don't run directly on Linux. You need to use some special (but readily available, and possibly already installed) software that will let you run the *.exe file. For DOS executables, you can use DOSEMU. For Windows programs, WINE does what you need.
 
p hasini
Ranch Hand
Posts: 92
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I tried running an exe file.
I am getting the following error message:


An error occurred while loading the archive.

Command line output says:

[/home/opensource/Desktop/.exe]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
note: /home/opensource/Desktop/.exe may be a plain executable, not an archive
zipinfo: cannot find zipfile directory in one of /home/opensource/Desktop/.exe or
/home/opensource/Desktop/.exe.zip, and cannot find /home/opensource/Desktop/.exe.ZIP, period.



How do I resolve this error
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have a file which is named ".exe" (i.e., just ".exe", nothing before the dot)? What command exactly did you try to run? The error message looks like you're trying to unzip it, but it isn't a ZIP file.
 
p hasini
Ranch Hand
Posts: 92
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The file name is 101GoldenKeys.exe.

Its actually a book I tried to open on Linux.The above message is getting displayed.

Is it not possible to open this file on Linux OS.
 
p hasini
Ranch Hand
Posts: 92
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I didnt run any command.I just double clicked on this file.exe icon.

The same file I can open on Windows Vista.
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
p hasini wrote:I didnt run any command.I just double clicked on this file.exe icon.

The same file I can open on Windows Vista.


Did you read the first reply that you got in this thread?
 
p hasini
Ranch Hand
Posts: 92
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.

You need to use some special (but readily available, and possibly already installed) software that will let you run the *.exe file. For DOS executables, you can use DOSEMU. For Windows programs, WINE does what you need.

I dont know how to execute the command in Linux.I am new to Linux software.
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
p hasini wrote:
I dont know how to execute the command in Linux.

Which command?
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Follow the instructions in the link which Ernest posted.
 
p hasini
Ranch Hand
Posts: 92
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok. Thank you
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic