#438 specifying dos command doesn't seem to work

open
nobody
None
5
2012-11-02
2012-05-10
No

I do
dosemu c:\ttt
and all it does is silently exits after boot.
Looking into the logs, is seems it is trying
to interpret the current directory as C: and
doesn't find command.com (but why to silently
exit?)
I can vaguely remember same problems in
the past, discussions and patches, but it looks
like it still doesn't work.

Discussion

  • Bart Oldeman

    Bart Oldeman - 2012-05-10

    It works for me:
    $dosemu -dumb c:\hello
    hello world
    $

    You need "unix -e" in autoexec.bat for this to work. Also try as "dosemu -E" to stay in DOS after so the error message from DOS doesn't disappear. Could you attach a log?

     
  • Stas Sergeev

    Stas Sergeev - 2012-05-10

    OK, with -E it at least does not silently exit.
    How about making this a default?

    Doesn't work for me though:
    dosemu -dumb -E c:\pos\maxs.exe


    "Welcome to dosemu 1.4.0.0!"
    About to Execute : c:\pos\maxs.exe
    C:>


    Then I type "c:\pos\maxs.exe" and program starts.
    Strange that it works for you, then I need to have
    a look deeper.

     
  • Stas Sergeev

    Stas Sergeev - 2012-05-10

    If I comment out the following line:

    lredir d: linux\fs%DOSDRIVE_D%

    of autoexec.bat, then it starts to work.
    Note that I have DOS/command.com on D:

    What's the magic with drive D:?

     
  • Stas Sergeev

    Stas Sergeev - 2012-05-10

    And on a side-note:
    I am always getting the double posts,
    one because I am monitoring the thread,
    and one via dosemu-notify.
    Any way to get rid of that, yet not unsubscribing
    from dosemu-notify?

     

Log in to post a comment.