Hi there!

On Fri, 8 Oct 1999, Matt Clay wrote:

... in Unix:
> export COMMAND="dir /w"
... in DOS:
> unix -e COMMAND

> That should run the command you put in the COMMAND environment
> variable. ...
> Hopefully, this will do what you wanted.
> 
> > I need to have the ability for any number of users to use the
> > dosemu at the same time, with a different command being run.


The idea of using environment variables is good but still, I think, it's
not what Bill is looking for because he needs many dosemus at the *same*
time.

  My 2 cents again (be warned, I haven't tried it yet):

Make the variable terminal/user/shell/whatever specific. E.g.:

  export dosemucmd$UID="mybatch.bat"      # $UID is User's ID
                                          # should work

then in DOSEMU:

  unix -e UID
  unix -e dosemucmd%UID%

OK, once again, I haven't tried it, but you probably got the idea.
Tell us whether this helps. At least, this way you can run many dosemus
at the same time.

HTH,

-- Andreas

Reply via email to