Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-03-2006, 09:13 PM   #1
Registered: Aug 2006
Posts: 73

Rep: Reputation: 15
Question Howto convert bin file to a executable DOS file

Have a compiled .bin file but needs to convert into standalone .exe file for DOS. How do I do that?

Old 08-03-2006, 09:23 PM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
As far as I know you can't convert a binary to run on different platforms. Depending on what it does though, you may be able to re-compile it under DOS (or something that emulates it). Can you give us some more info on what it does and whether you have the source?
Old 08-03-2006, 09:38 PM   #3
Senior Member
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
there was a program in dos named bin2exe but i don't know if the program still exists today.
Old 08-03-2006, 09:46 PM   #4
Registered: Aug 2002
Posts: 21,782

Rep: Reputation: 4248Reputation: 4248Reputation: 4248Reputation: 4248Reputation: 4248Reputation: 4248Reputation: 4248Reputation: 4248Reputation: 4248Reputation: 4248Reputation: 4248
bin2exe converted a DOS com file to an exe.
How did you compile this bin file?
Old 08-03-2006, 11:49 PM   #5
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Did I miss the part about how this relates to Linux?.....
Old 08-04-2006, 12:03 AM   #6
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Did I miss the part about how this relates to Linux?.....
I think the part was, "how do I turn a Linux .bin into a DOS .exe", or at least I hope so


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make a bin file executable and install the prgram shariqali Linux - Software 6 03-29-2006 01:11 PM
Command to convert dos file to a unix format sathish80 Linux - Newbie 1 03-22-2006 11:32 PM
Executing Perl under Dos /Creating an executable for DOS alix123 Programming 1 02-15-2006 04:07 AM
Linux Executable File Help (created from a .c file) MattG1981 Linux - Newbie 7 06-06-2004 04:54 PM
How to compile a executable dos file by g++? Xiangbuilder Programming 7 09-23-2003 08:56 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration