How to: Run a DOS program using Wine
How to: Run a DOS program using Wine
I have a new EeePC from ASUS with Xandros version of linux installed. I have installed wine, and believe that the installation works for at least some windows programs. Looking in the windows\system32 directory I see notepad and progman, both of which run and look reasonable.
What I really want to do is to run a command window, i.e. cmd.exe. Even though it is there, when I attempt to execute it (either as cmd <enter> or as cmd.exe <enter>) I get told bash: cmd: command not found.
Reason I want to do this is so that I can run a DOS program of mine. I can run that program using DOSBOX, but there is a slight problem and that does not work quite 100%. I also have attempted to use DOSEMU, but that is much worse in several ways.
So -- question is: How can I get a DOS program to run using WINE, similar to how I run it in windows XP using a CMD window?
What I really want to do is to run a command window, i.e. cmd.exe. Even though it is there, when I attempt to execute it (either as cmd <enter> or as cmd.exe <enter>) I get told bash: cmd: command not found.
Reason I want to do this is so that I can run a DOS program of mine. I can run that program using DOSBOX, but there is a slight problem and that does not work quite 100%. I also have attempted to use DOSEMU, but that is much worse in several ways.
So -- question is: How can I get a DOS program to run using WINE, similar to how I run it in windows XP using a CMD window?
How to: Run a DOS program using Wine
Hi!
You have to enter "wine cmd.exe". It should work.I have a new EeePC from ASUS with Xandros version of linux installed. I have installed wine, and believe that the installation works for at least some windows programs. Looking in the windows\system32 directory I see notepad and progman, both of which run and look reasonable.
What I really want to do is to run a command window, i.e. cmd.exe. Even though it is there, when I attempt to execute it (either as cmd <enter> or as cmd.exe <enter>) I get told bash: cmd: command not found.
Wine is not intended to run DOS programs. I'm afraid that it will not work. I'm afraid that you will have to live with DosBox .Reason I want to do this is so that I can run a DOS program of mine. I can run that program using DOSBOX, but there is a slight problem and that does not work quite 100%. I also have attempted to use DOSEMU, but that is much worse in several ways.
Even if it probably will not work, the correct answer is: Use bash, cd to the directory containing the program, and enter "wine <program name>". It will try to do, what you are asking for...So -- question is: How can I get a DOS program to run using WINE, similar to how I run it in windows XP using a CMD window?
Re: How to: Run a DOS program using Wine
I was becoming afraid of that. I had hoped that since windows can run DOS programs that Wine would allow the same ability.Pavel Troller wrote:Hi!
You have to enter "wine cmd.exe". It should work.
OK, that works -- sort of. I had thought it might open a new command window. Instead it echos CMD Version 0,9.25 and then changes the current window into a "sort of" Command window. I can navigate around the directory structure defined in wine, and I can execute simple batch files that way. However, when I then attempt to execute any real program, I get a long error dump and exit.Wine is not intended to run DOS programs. I'm afraid that it will not work. I'm afraid that you will have to live with DosBox .
Thanks for the response. Guess I've have to give up on Wine for this purpose. I'll leave it on in case I decide that there is some real windows program I have to have.
Re: How to: Run a DOS program using Wine
Wine used to. However supporting DOS programs wasn't that good and now it's badly broken. And since there are much better solutions just to run DOS program no one in the rush to fix Wine.dale5351 wrote: I was becoming afraid of that. I had hoped that since windows can run DOS programs that Wine would allow the same ability.
So... if you need to run DOS program (not windows console program) don't use Wine.
How to: Run a DOS program using Wine
dale5351 wrote:
Pavel Troller wrote:Hi!
You have to enter "wine cmd.exe". It should work.I would also like to add that there are several good quality 'DOS'
OK, that works -- sort of. I had thought it might open a new command window. Instead it echos CMD Version 0,9.25 and then changes the current window into a "sort of" Command window. I can navigate around the directory structure defined in wine, and I can execute simple batch files that way. However, when I then attempt to execute any real program, I get a long error dump and exit.
I was becoming afraid of that. I had hoped that since windows can run DOS programs that Wine would allow the same ability.
Thanks for the response. Guess I've have to give up on Wine for this purpose. I'll leave it on in case I decide that there is some real windows program I have to have.
emulators, so it is not high on the priority list of the Wine team to
fix the brokenness for running DOS programs through the command line
window.
James McKenzie
How to: Run a DOS program using Wine
Beter install Free-DOS on VMWare virtual machine.
Regards.
-----Mensaje original-----
De: [email protected] [mailto:[email protected]] En
nombre de vitamin
Enviado el: Domingo, 06 de Abril de 2008 01:30 p.m.
Para: [email protected]
Asunto: [Wine] Re: How to: Run a DOS program using Wine
dale5351 wrote:
Wine used to. However supporting DOS programs wasn't that good and now it's
badly broken. And since there are much better solutions just to run DOS
program no one in the rush to fix Wine.
So... if you need to run DOS program (not windows console program) don't use
Wine.
Regards.
-----Mensaje original-----
De: [email protected] [mailto:[email protected]] En
nombre de vitamin
Enviado el: Domingo, 06 de Abril de 2008 01:30 p.m.
Para: [email protected]
Asunto: [Wine] Re: How to: Run a DOS program using Wine
dale5351 wrote:
DOS programs that Wine would allow the same ability.I was becoming afraid of that. I had hoped that since windows can run
Wine used to. However supporting DOS programs wasn't that good and now it's
badly broken. And since there are much better solutions just to run DOS
program no one in the rush to fix Wine.
So... if you need to run DOS program (not windows console program) don't use
Wine.
Re: How to: Run a DOS program using Wine
LOL have you actually read what hardware he is running this stuff on? And why in the world would one need a whole VM for DOS?!Sergio Samayoa wrote:Beter install Free-DOS on VMWare virtual machine.
How to: Run a DOS program using Wine
No, I haven't readed in which HW he is trying to run it.LOL have you actually read what hardware he is running this stuff on? And
Which is ?
Isolation.why in the world would one need a whole VM for DOS?!
I haven't readed how old is his program but I use to be a DOS Developer and
used a lot of low level OS bypassed features such BIOS calls, direct memory
access, port access, etc. which I guess wine can't manage.
Your VM could be as big as you need: set it with just 1 Mb of RAM and disk
abot few Mb.
Regards.
-----Mensaje original-----
De: [email protected] [mailto:[email protected]] En
nombre de vitamin
Enviado el: Lunes, 07 de Abril de 2008 07:58 a.m.
Para: [email protected]
Asunto: [Wine] Re: How to: Run a DOS program using Wine
Sergio Samayoa wrote:
LOL have you actually read what hardware he is running this stuff on? AndBeter install Free-DOS on VMWare virtual machine.
why in the world would one need a whole VM for DOS?!
Re: How to: Run a DOS program using Wine
Sergio. Please do not top post. Follow the whole thread before answering. If you have problems tracking conversation with your news reader - user Wine Forums interface: http://forum.winehq.org/Sergio Samayoa wrote:No, I haven't readed in which HW he is trying to run it.LOL have you actually read what hardware he is running this stuff on? And
Which is ?
Isolation.why in the world would one need a whole VM for DOS?!
I haven't readed how old is his program but I use to be a DOS Developer and
used a lot of low level OS bypassed features such BIOS calls, direct memory
access, port access, etc. which I guess wine can't manage.
Your VM could be as big as you need: set it with just 1 Mb of RAM and disk
abot few Mb.
Regards.
-----Mensaje original-----
De: [email protected] [mailto:[email protected]] En
nombre de vitamin
Enviado el: Lunes, 07 de Abril de 2008 07:58 a.m.
Para: [email protected]
Asunto: [Wine] Re: How to: Run a DOS program using Wine
Sergio Samayoa wrote:LOL have you actually read what hardware he is running this stuff on? AndBeter install Free-DOS on VMWare virtual machine.
why in the world would one need a whole VM for DOS?!
How to: Run a DOS program using Wine
Doesn't DOSBox work for the job?
On Mon, Apr 7, 2008 at 9:35 AM, Sergio Samayoa
<[email protected]> wrote:
On Mon, Apr 7, 2008 at 9:35 AM, Sergio Samayoa
<[email protected]> wrote:
No, I haven't readed in which HW he is trying to run it.LOL have you actually read what hardware he is running this stuff on? And
Which is ?
Isolation.why in the world would one need a whole VM for DOS?!
I haven't readed how old is his program but I use to be a DOS Developer and
used a lot of low level OS bypassed features such BIOS calls, direct memory
access, port access, etc. which I guess wine can't manage.
Your VM could be as big as you need: set it with just 1 Mb of RAM and disk
abot few Mb.
Regards.
-----Mensaje original-----
De: [email protected] [mailto:[email protected]] En
nombre de vitamin
Enviado el: Lunes, 07 de Abril de 2008 07:58 a.m.
Para: [email protected]
Asunto: [Wine] Re: How to: Run a DOS program using Wine
Sergio Samayoa wrote:LOL have you actually read what hardware he is running this stuff on? AndBeter install Free-DOS on VMWare virtual machine.
why in the world would one need a whole VM for DOS?!