Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

DOS Menu

Thread Tools
 
Search this Thread
 
Old 10 November 2005, 01:29 PM
  #1  
jowl
Scooby Regular
Thread Starter
 
jowl's Avatar
 
Join Date: Aug 2004
Posts: 1,882
Likes: 0
Received 0 Likes on 0 Posts
Default DOS Menu

Dos is a little before my time and I'm wanting to write a simple DOS menu system.

It's actually for a ghost boot disk that I'd like to write to a bootable CD so I can launch different network drivers etc.

Any pointers?
Old 10 November 2005, 01:32 PM
  #2  
Iain Young
Scooby Regular
 
Iain Young's Avatar
 
Join Date: Sep 1999
Location: Swindon, Wiltshire Xbox Gamertag: Gutgouger
Posts: 6,956
Likes: 0
Received 0 Likes on 0 Posts
Default

Try google

http://www.allenware.com/icsw/icswidx.htm (lesson 6)

or

http://home.att.net/~gobruen/progs/d...h.html##choice

or if you're lazy...

@ECHO OFF
ECHO 1 - Stars
ECHO 2 - Dollar Signs
ECHO 3 - Crosses


CHOICE /C:123

IF errorlevel 3 goto OPT3
IF errorlevel 2 goto OPT2
IF errorlevel 1 goto OPT1

:OPT1
ECHO *******************
ECHO.
PAUSE
CLS
EXIT

:OPT2
ECHO $$$$$$$$$$$$$$$$$$$$
ECHO.
PAUSE
CLS
EXIT

:OPT3
ECHO +++++++++++++++++++++
ECHO.
PAUSE
CLS
EXIT

Last edited by Iain Young; 10 November 2005 at 01:39 PM.
Old 10 November 2005, 01:42 PM
  #3  
jowl
Scooby Regular
Thread Starter
 
jowl's Avatar
 
Join Date: Aug 2004
Posts: 1,882
Likes: 0
Received 0 Likes on 0 Posts
Default

Cheers, I am Lazy!

Actually I did google but the results didn't seem great! And I knew there would be some clever person on Scoobynet to the rescue!

Thanks
Old 10 November 2005, 02:35 PM
  #4  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Default

also look at

http://www.netbootdisk.com/
Old 10 November 2005, 03:00 PM
  #5  
bioforger
Scooby Regular
iTrader: (1)
 
bioforger's Avatar
 
Join Date: Jan 2002
Location: Pig Hill, Wiltsh1te
Posts: 16,995
Received 5 Likes on 5 Posts
Default

Keep in mind that the choice dos command is no longer a part of the standard windows 2K/XP distribution. So if you're using Win2k/XP that batch file won't work

I think it's still available as part of the Windows NT4 Resouce Kit and in Win95/98, i.e Dos V6/7, so you could copy it from there or off the net.
Old 10 November 2005, 03:42 PM
  #6  
jowl
Scooby Regular
Thread Starter
 
jowl's Avatar
 
Join Date: Aug 2004
Posts: 1,882
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by bioforger
Keep in mind that the choice dos command is no longer a part of the standard windows 2K/XP distribution. So if you're using Win2k/XP that batch file won't work

I think it's still available as part of the Windows NT4 Resouce Kit and in Win95/98, i.e Dos V6/7, so you could copy it from there or off the net.
Yeah, I couldn't get that bit to work.

I created an 'MS-Dos' disk from Ghost but 'choice' doesn't appear to be included.

Cheers all
Old 10 November 2005, 03:46 PM
  #7  
Iain Young
Scooby Regular
 
Iain Young's Avatar
 
Join Date: Sep 1999
Location: Swindon, Wiltshire Xbox Gamertag: Gutgouger
Posts: 6,956
Likes: 0
Received 0 Likes on 0 Posts
Default

Yep choice was removed in w2k and xp, but is back in for 2003 or some bizarre reason.

It is part of the win2k resource kit http://www.microsoft.com/windows2000...ro_tools.asp#C
Old 10 November 2005, 03:47 PM
  #8  
Iain Young
Scooby Regular
 
Iain Young's Avatar
 
Join Date: Sep 1999
Location: Swindon, Wiltshire Xbox Gamertag: Gutgouger
Posts: 6,956
Likes: 0
Received 0 Likes on 0 Posts
Default

You can also get it from here...

http://support.microsoft.com/default...en-us%3B117600

(p.s. google again )
Old 10 November 2005, 03:49 PM
  #9  
Kieran_Burns
Scooby Regular
Support Scoobynet!
iTrader: (1)
 
Kieran_Burns's Avatar
 
Join Date: Jul 2004
Location: There on the stair
Posts: 10,208
Likes: 0
Received 0 Likes on 0 Posts
Default

You could just paint a simple text menu and have a series of batch files that correspond to the name of the option you want:

1. Option1
2. Option2
3. Option3

etc, etc

Then you type 1 and it runs 1.bat
Old 10 November 2005, 04:05 PM
  #10  
Iain Young
Scooby Regular
 
Iain Young's Avatar
 
Join Date: Sep 1999
Location: Swindon, Wiltshire Xbox Gamertag: Gutgouger
Posts: 6,956
Likes: 0
Received 0 Likes on 0 Posts
Default

You need to be at a command prompt for that to work though Kieran. Jowl said he wanted a boot menu...

The choice.com in msdos6.22 works fine in win2k andxp, so I'd just use that...
Old 10 November 2005, 04:12 PM
  #11  
jowl
Scooby Regular
Thread Starter
 
jowl's Avatar
 
Join Date: Aug 2004
Posts: 1,882
Likes: 0
Received 0 Likes on 0 Posts
Default

Again Thanks for everyone's help.

Think I might just with the http://www.netbootdisk.com/ option (as I'm lazy!) for now.

I'll investigate writing my own scripts but the netbootdisk is great!
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Darrell@Scoobyworx
Trader Announcements
26
30 January 2024 01:27 PM
blackieblob
ScoobyNet General
4
01 October 2015 11:37 AM
alcazar
Non Scooby Related
37
27 September 2015 10:35 PM
StueyBII
General Technical
4
26 September 2015 12:35 PM



Quick Reply: DOS Menu



All times are GMT +1. The time now is 07:23 PM.