![]() |
I tried to make a batch in the DOSBox configuration file, so that I could choose which game to play at startup of DOSBox, just by pressing a number. It works in DOS, but obviously DOSBox doesn't support the [menu]/menuitem= thing. How can I make such a menu?
EDIT: Ohdamn! I remember it was done in the config.sys and dosbox config doesn't offer that. Still: Any way of make a menu? |
[menu] and stuff was for CONFIG.SYS, not for AUTOEXEC.BAT let alone a generic BAT.
To create menus in BAT files you'll have to use the CHOICE comand along with "IF ERRORLEVEL x GOTO ..." sentences and labels. http://www.computerhope.com/batch.htm |
Thanks. By pasting that "choise" example, and modifying it, I now get a menu of games. Cool.
|
<div class='quotetop'>QUOTE(Mighty Midget @ Jun 4 2007, 08:07 PM) [snapback]292919[/snapback]</div>
Quote:
config -get "cpu cycles" this displays the current cpu cycles settins config -set "cpu cycles=7000" this will set the cpu cycles to 7000 I find this really great when programs require different speeds and I want them to all run in the same batch file as I can just add the ' config set ' command before running the game |
The current time is 12:03 PM (GMT) |
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.