chinagreenelvis Posted April 8, 2022 Share Posted April 8, 2022 I'm attempting to use the CHOICE command in DOSBox to set a one-time option by passing the value of ERRORLEVEL to a text file where it can be read later. Sadly, I don't think it's possible with DOSBox's limited capabilities but I figured I'd post the problem in case anyone has a solution. echo Press 1 for Space Quest V: The Next Mutation w/ SoundBlaster echo Press 2 for Space Quest V: The Next Mutation w/ MT32 echo Press 3 for Space Quest V: The Next Mutation w/ Sound Canvas echo. choice /C:1234 /N Please Choose: if errorlevel = 3 goto SC55 if errorlevel = 2 goto MT32 if errorlevel = 1 goto SB16 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.