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. - To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
