First post, by ignatius
It would be nice if DOSBox had a "console" mode. So you don't have to be in a GUI to use it.
It would be nice if DOSBox had a "console" mode. So you don't have to be in a GUI to use it.
wrote:It would be nice if DOSBox had a "console" mode. So you don't have to be in a GUI to use it.
The source is available to everyone, so if that's what you want, you'd better get to it. 😵
It is currently possible to run DOSBox without a window if you specify all the commands you need in advance, either on the command line or in the [autoexec] section of DOSBox.conf.
wrote:wrote:It would be nice if DOSBox had a "console" mode. So you don't have to be in a GUI to use it.
The source is available to everyone, so if that's what you want, you'd better get to it. 😵
It is currently possible to run DOSBox without a window if you specify all the commands you need in advance, either on the command line or in the [autoexec] section of DOSBox.conf.
^^ This
Welcome ignatius
See you around!!
It HAS a console mode. In fact, it emulates a DOS computer, so you can use DOS commands to install and run games.
I guess you're using some front end to DOSBox (maybe because you've downloaded a compilation that includes a front end). Front ends are used because:
- Some users have forgotten how to use DOS (or never used it and they only want to launch the game).
- Some games need specific configuration, or because that way is easier to change between EMS/XMS/processor/sound/graphic configuration
I have traveled across the universe and through the years to find Her.
Sometimes going all the way is just a start...
It has two consoles then 🤣 🤣
wrote:It HAS a console mode. In fact, it emulates a DOS computer, so you can use DOS commands to install and run games. […]
It HAS a console mode. In fact, it emulates a DOS computer, so you can use DOS commands to install and run games.
I guess you're using some front end to DOSBox (maybe because you've downloaded a compilation that includes a front end). Front ends are used because:
- Some users have forgotten how to use DOS (or never used it and they only want to launch the game).
- Some games need specific configuration, or because that way is easier to change between EMS/XMS/processor/sound/graphic configuration
So, I would run command(s) like this:
dosbox -c "command1" -c "command2" -c "command3"
Correct?
Thanks,
ignatius
Yes, that is one way of doing it. Why don't you try it and find out?
wrote:Yes, that is one way of doing it. Why don't you try it and find out?
It doesn't appear to do anything. I get the DOSBox version and configuration "loading" screen.
Thanks,
ignatius
did you include a
-c "exit"
?
Water flows down the stream
How to ask questions the smart way!
wrote:did you include a
-c "exit"
?
Yep.
using "call" on batch files ?
Water flows down the stream
How to ask questions the smart way!
wrote:using "call" on batch files ?
Yep.
Here's the line:
dosbox -c "path=c:\home\imp\util" -c "mount c /" -c "c:" -c "call \\home\\imp\\imp\\poll.bat" -c "exit"
Thanks,
ignatius
you have to use the location inside dosbox.
Your are using the location using your OS paths. Or is it really at
c:\home\imp\util\home\imp\imp\pol.bat
?
Water flows down the stream
How to ask questions the smart way!
wrote:you have to use the location inside dosbox. Your are using the location using your OS paths. Or is it really at […]
you have to use the location inside dosbox.
Your are using the location using your OS paths. Or is it really at
c:\home\imp\util\home\imp\imp\pol.bat
?
No. That is the correct path name.
Thanks,
ignatius
Well, in that case you're not mounting the right directory. You would need
dosbox -c "mount c /home/imp/util" -c "c:" -c "call \\home\\imp\\imp\\poll.bat" -c "exit"
I'm not sure what you're expecting "path" to do.
wrote:Well, in that case you're not mounting the right directory. You would need
dosbox -c "mount c /home/imp/util" -c "c:" -c "call \\home\\imp\\imp\\poll.bat" -c "exit"
I'm not sure what you're expecting "path" to do.
No. POLL.BAT requires that the full path is intact. Hence the c: drive needs to be set to "/" (root). The program that POLL.BAT calls has a data file that requires that path.
You are right about about the path statement, however. It isn't needed.
Thanks,
ignatius
wrote:No. POLL.BAT requires that the full path is intact. Hence the c: drive needs to be set to "/" (root). The program that POLL.BAT calls has a data file that requires that path.
Then the filename is incorrect. In case it's not clear, all paths in DOSBox are relative to whatever drives you have mounted. You need
dosbox -c "mount c /" -c "c:" -c "call \\home\\imp\\util\\\home\\imp\\imp\\poll.bat" -c "exit"
Alternatively, perhaps you mean
dosbox -c "mount c /home/imp/util" -c "c:" -c "cd \\home\\imp\\imp" -c "call poll.bat" -c "exit"
Thanks,
ignatius
(In case you haven't noticed, no one else is doing this. We can all see your name to the left of your posts.)
wrote:Then the filename is incorrect. In case it's not clear, all paths in DOSBox are relative to whatever drives you have mounted. Y […]
wrote:No. POLL.BAT requires that the full path is intact. Hence the c: drive needs to be set to "/" (root). The program that POLL.BAT calls has a data file that requires that path.
Then the filename is incorrect. In case it's not clear, all paths in DOSBox are relative to whatever drives you have mounted. You need
dosbox -c "mount c /" -c "c:" -c "call \\home\\imp\\util\\\home\\imp\\imp\\poll.bat" -c "exit"
Alternatively, perhaps you mean
dosbox -c "mount c /home/imp/util" -c "c:" -c "cd \\home\\imp\\imp" -c "call poll.bat" -c "exit"
Thanks,
ignatius(In case you haven't noticed, no one else is doing this. We can all see your name to the left of your posts.)
Like i've said,
dosbox -c "mount c /home/imp/util" -c "c:" -c "call \\home\\imp\\imp\\poll.bat" -c "exit"
Works fine under X. It just doesn't execute on the command line.
Well, now we're getting somewhere.
You need to set the environment variable SDL_VIDEODRIVER=dummy before starting DOSBox. In Linux, I think the command is "export SDL_VIDEODRIVER=dummy".
wrote:Well, now we're getting somewhere.
You need to set the environment variable SDL_VIDEODRIVER=dummy before starting DOSBox. In Linux, I think the command is "export SDL_VIDEODRIVER=dummy".
Thanks for that. But i'm still having issues. We're getting closer, though.
CONFIG:Loading primary settings from config file /root/.dosbox/dosbox-SVN.conf
Exit to error: Could not initialize video: Couldn't set console screen info