04-06-2007, 05:18 PM | #1 | ||
Join Date: Mar 2006
Location: Krakeroy, Norway
Posts: 3,014
|
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?
__________________
Je Suis Charlie |
||
|
|
04-06-2007, 05:25 PM | #2 | ||
Join Date: Mar 2006
Location: ,
Posts: 4,613
|
[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
__________________
Life starts every day anew. Prospects not so good... |
||
|
|
04-06-2007, 07:07 PM | #3 | ||
Join Date: Mar 2006
Location: Krakeroy, Norway
Posts: 3,014
|
Thanks. By pasting that "choise" example, and modifying it, I now get a menu of games. Cool.
__________________
Je Suis Charlie |
||
|
|
15-06-2007, 07:46 PM | #4 | ||
Join Date: Feb 2007
Location: Peterlee, England
Posts: 169
|
<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 |
||
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Offer A Standarized Dosbox Configuration Autoexec? | Mighty Midget | Old Suggestions | 19 | 03-08-2007 08:21 PM |
:help: Cannot Run The Autoexec Part Of The .conf | dr_mabuse | Troubleshooting | 6 | 04-04-2006 09:06 AM |
Autoexec.nt | Pazzer | Troubleshooting | 3 | 27-04-2005 07:55 PM |
Problem With Autoexec.nt | Eagle of Fire | Troubleshooting Archive | 0 | 10-01-2005 03:54 AM |
Autoexec.nt Not Suitable To Run Dosbox Unable Tocd | Guest | Troubleshooting | 2 | 26-11-2004 11:59 PM |
Thread Tools | |
Display Modes | |
|
|
||
  |