It has the effect I want, but I need it to not be dependant on the
filesystem, here's why:
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.
Currently I am doing what youve suggested, with the addition
of a lock file so noone can start the dosemu while someone
else's dos session is booting (the autoexec.bat deletes the
lockfile at the right time from within dos)..
With 50 people trying to log in at the same time the wait for the
dosemu to become unlocked can be several minutes, and thats
not acceptble..
So I need to be able to specify a command *unique* to the
dosemu being run..
Thanks for the suggestion,!
le me know if you have any more thoughts on it,
Bill
Andreas Schamanek wrote:
> Um, I think I didn't get that! Can you explain that?
>
> Anyway, I had the same Problem and here is a simple quick and dirty
> solution.
>
> put an extra line into your autoexec.bat
>
> autoexec.bat:
> ...
> if exist autox2.bat call autox2.bat
>
> now run dosemu with
>
> echo "myspecial commands" >autox2.bat ; dos ; rm autox2.bat
>
> or copy whatever batchfile you want to autox2.bat (at the correct
> directory of course) and then start dos. Include 'exitemu' in
> autox2.bat to quit dosemu.
>
> Does this help?
> Hope so,
>
> -- Andreas