04-11-2006, 11:19 AM | #11 | ||
Join Date: Apr 2005
Location: Turin, Italy
Posts: 1,043
|
I don't understand why you want to elimate the prompt... C:\ is a symbol of the great DOS
Anyway, I'm very happy to see someone still "playing" with DOS k: |
||
|
|
04-11-2006, 03:37 PM | #12 | ||
Join Date: Oct 2004
Location: Iisalmi, Finland
Posts: 416
|
<div class='quotetop'>QUOTE(Quintopotere @ Nov 4 2006, 12:19 PM) [snapback]265304[/snapback]</div>
Quote:
-- 1. Choose option 1 2. Choose option 2 3. Choose option 2 4. Cancel Please type your command -- It would be kind of fake menu. |
||
|
|
04-11-2006, 04:53 PM | #13 | ||
Join Date: Mar 2006
Location: ,
Posts: 4,613
|
That's very possible with the "choose" command, followed by "if" with "errorlevel" etc. Check out DOS's HELP as I told you.
__________________
Life starts every day anew. Prospects not so good... |
||
|
|
04-11-2006, 11:57 PM | #14 | ||
Join Date: Oct 2004
Location: Godmanchester, England
Posts: 850
|
isn't it choice?
check this example out: Code:
:Menu @cls @echo ------------------------------------ @echo -**********************************- @echo - Worms: United And Reinforcements - @echo -**********************************- @echo ------------------------------------ @echo ************************ @echo ****1. Run Worms @Echo ****2. Multiplayer Menu @Echo ****3. Exit @echo ************************ @choice /c:321 /N Select Option: @Cls @if errorlevel 3 Goto game @if errorlevel 2 goto mm @if errorlevel 1 goto Quit @Goto Quit :game @cls @%cd%\bin\black.exe @SET dos4g=quiet @SET wormscfg=%cd%\worms.cfg @SET wormscd=%cd% @wait @%cd%\bin\wrms :mm @cls @echo ------------------------------------ @echo -**********************************- @echo - Worms: United And Reinforcements - @echo -******** Multiplayer Menu******** - @echo -**********************************- @echo ------------------------------------ @echo. @echo 1. IPX equipped network @echo 2. Serial Connection (Null Modem) @echo 3. Modem Connection @echo 4. Exit and play single-terminal Worms... @echo 5. Quit @echo. @ @choice /c:54321 /N Select mode... @cls if errorlevel 5 goto lan if errorlevel 4 goto serial if errorlevel 3 goto modem if errorlevel 2 goto menu if errorlevel 1 goto quit @goto quit pause take what you can from it since it actually works pretty well on worms :P
__________________
~Ceramic White PSP Status~ FW: 5.00 M33-6 Memory Stick: 8gb |
||
|
|
05-11-2006, 05:09 AM | #15 | ||
Join Date: Mar 2006
Location: ,
Posts: 4,613
|
<div class='quotetop'>QUOTE(JJXB @ Nov 5 2006, 01:57 AM) [snapback]265379[/snapback]</div>
Quote:
__________________
Life starts every day anew. Prospects not so good... |
||
|
|
08-11-2006, 08:48 AM | #16 | ||
Join Date: Mar 2006
Location: Krakeroy, Norway
Posts: 3,014
|
A menu? Well, I don't recall exactly, but if you create a rescue boot disc in win, it will come with a menu. Try to create one and look at the file. I did it to create a boot disc where I could choose EMS and CD-ROM enabled/disabled.
__________________
Je Suis Charlie |
||
|
|
09-11-2006, 07:44 AM | #17 | ||
Join Date: Mar 2006
Location: ,
Posts: 4,613
|
There's a special syntax for multiple configurations in CONFIG.SYS, DOS's HELP.COM has explanations for this and also for the general case with CHOICE, IF, ERRORLEVEL, etc.
__________________
Life starts every day anew. Prospects not so good... |
||
|
|
09-11-2006, 04:10 PM | #18 | ||
Join Date: Apr 2005
Location: Turin, Italy
Posts: 1,043
|
<div class='quotetop'>QUOTE(Mighty Midget @ Nov 8 2006, 10:48 AM) [snapback]265851[/snapback]</div>
Quote:
It's really simple once you look an example or the help |
||
|
|
10-11-2006, 11:59 AM | #19 | ||
Join Date: Oct 2004
Location: Opole, Poland
Posts: 14,276
|
Used to do something like that with Autoexec.bat and Config.sys on my old DOS machine... mainly because Flashback needed a huge amount of base memory.
|
||
|
|
13-11-2006, 07:52 AM | #20 | ||
|
<div class='quotetop'>QUOTE(the_fifth_horseman @ Nov 10 2006, 01:59 PM) [snapback]266281[/snapback]</div>
Quote:
Then you could play again for another 90 minutes until the next crash!!! :ranting: LOL
__________________
|
||
|
|