VOGONS


First post, by Ezzman

User metadata
Rank Newbie
Rank
Newbie

I'm trying to set up Dosbox to run an old convertion application from a
CAD/CAM postprocessor.

I will try to explain the workflow.

1. In the postprocessor I call a batch file (conv.bat) with the parameter %1,
which contains the filepath.

2. The batch file looks like this :
"C:\Dosbox\DOSBox-0.74\Dosbox.exe" -c "CNV75.EXE %~nx1"
The %~nx1 parameter contains the filename that should be converted.

3. In Dosbox Autoexec, I have added the following:
MOUNT C "C:\Triaconv\"
C:

The conversion works perfect, but I can't get Dosbox to quit after the
conversion is done.

I have tried putting -exit in different places in the batch file without sucess.

Hopefully some of you might be able to help me.

Thanks in advance //Ezzman

Reply 2 of 5, by Ezzman

User metadata
Rank Newbie
Rank
Newbie

I have tried that, but that stops the cnv75.exe from executing.

Reply 3 of 5, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

"C:\Dosbox\DOSBox-0.74\Dosbox.exe" -c "CNV75.EXE %~nx1" - c exit
although I wonder how you mount stuff using that command.....

Water flows down the stream
How to ask questions the smart way!

Reply 4 of 5, by Ezzman

User metadata
Rank Newbie
Rank
Newbie

Thank you very much !!
That made my day 😀

Btw The mounting is done in the Autoexec

Reply 5 of 5, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

[Thread moved to DOSBox General Section]