VOGONS


First post, by dimb

User metadata
Rank Newbie
Rank
Newbie

when i call another batch file (subfunction) with this function, in native dos, after completeng subfunction, continues execution of first file. In dosbox after completeng subfunction, stops all.

maybe need some commands in "subfunction"?

Reply 2 of 11, by dimb

User metadata
Rank Newbie
Rank
Newbie

mainfile.bat:
echo hello, world
call subfunction.bat parametr
echo continue executing main batch file

subfunction.bat
echo %1 succesfully accepted, returning mainfile.bat

..in dosbox last command in mainfile.bat not executing...

Reply 4 of 11, by dimb

User metadata
Rank Newbie
Rank
Newbie

hmm... dosbox 0.70?
maybe because in my real subfinction.bat exsist call to external program (multiedit) an them finish with some errorcode?

Reply 5 of 11, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

0.70

I tried with batch files which only consisted of call and echo.

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

Reply 6 of 11, by IIGS_User

User metadata
Rank Oldbie
Rank
Oldbie
dimb wrote:
mainfile.bat: echo hello, world call subfunction.bat parametr echo continue executing main batch file […]
Show full quote

mainfile.bat:
echo hello, world
call subfunction.bat parametr
echo continue executing main batch file

subfunction.bat
echo %1 succesfully accepted, returning mainfile.bat

..in dosbox last command in mainfile.bat not executing...

dimb wrote:

maybe because in my real subfinction.bat exsist call to external program (multiedit) an them finish with some errorcode?

Realworld test, please. 😕
The first example doesn't really call an exe app.

Klimawandel.

Reply 7 of 11, by MiniMax

User metadata
Rank Moderator
Rank
Moderator
dimb wrote:

hmm... dosbox 0.70?
maybe because in my real subfinction.bat exsist call to external program (multiedit) an them finish with some errorcode?

Maybe try call multiedit.com ??

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 8 of 11, by dimb

User metadata
Rank Newbie
Rank
Newbie

Catch problem!
Some strange stuff in Norton Commander 4.
When unload them before starting batch - all ok!

Will try to upgrade NC.... or some else fiile manager.

Another question - in native dos ctrl+c - brakes current batfile, in dos box -- only draw a heart....

PS: very slow in calculations (not drawing) in comparative to clean dos.. Set cycles to 'max', priority to highest.. maybe some else?

Reply 9 of 11, by MiniMax

User metadata
Rank Moderator
Rank
Moderator
dimb wrote:

Another question - in native dos ctrl+c - brakes current batfile, in dos box -- only draw a heart....

I think that is a known problem with the command interpreter in DOSBox. I don't think there is anything you can do about it.

dimb wrote:

PS: very slow in calculations (not drawing) in comparative to clean dos.. Set cycles to 'max', priority to highest.. maybe some else?

You can try changing the CPU core to 'dynamic' but I don't know if it helps.

I get the feeling that DOSBox is not the optimal solution to your problems. Have you tried a real PC emulator like Virtual PC, or VMware?

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 10 of 11, by dimb

User metadata
Rank Newbie
Rank
Newbie

Yes, i'm tried VMWare... But this a little difficult to explain for users difference betwin real and virtual PC.. 🙁
At now, this #%$# package, which stops evolution ten years ago in reason of death of developer, works almost as usual! In windows!
It's time to chande workplase 😀