VOGONS


Nested BAT files bug?

Topic actions

First post, by jerryt

User metadata
Rank Newbie
Rank
Newbie

I have found the following problem with nested BAT files:

File moppwt.bat:

@Echo Off
call oppwt seller.opl
if errorlevel 1 goto Zle

rem place 2
call oppwt kom20.opl
if errorlevel 1 goto Zle

File oppwt.bat:

c:\!JT.C\psion\opp\opp -d_WORKABOUT -iC:\!JT.C\psion\opp\include %1 %2 %3 %4 %5

When I start moppwt it will cal oppwt at first place but after this will exit so place 2 is never reached.
Oppwt cals opp.exe file

JerryT

Reply 1 of 2, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

i'm not sure if dosbox likes the ! in the names.

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

Reply 2 of 2, by `Moe`

User metadata
Rank Oldbie
Rank
Oldbie

! works fine for me. I use batch files named like !start.bat for my homebrew game launcher.