Re: dosemu

Clarence Dang
2005-09-04T02:51:29Z

On Friday 02 September 2005 20:51, Andrzej Kaczmarczyk wrote:
> try this:
> dosemu -E "programname.bat"
>
> mind that you must have that file accessible so either put into your root
> directory on "c:"
> or add a valid path into the autoexec.bat
>
> secondary add into your bat the exitemu line like this:
> cd programdir
> programname.exe
> exitemu
>
> that way you'll exite dosemu rightafter execution and you won't have to
> kill it

Alternatively, put "unix -e" at the end of your autoexec.bat Then you can
just type:

dosemu "programdir\programname.exe"

It even handles Linux paths. "dosemu -E" is the same but doesn't exit
afterwards.

> what WOULD be nice (Stas do you hear me?) would be to add parameters to
> exitemu, so a linux process could evaluate succes or failure of the dos
> program execution.

Difficult.