Notices
Non Scooby Related Anything Non-Scooby related

Another DOS Question.

Thread Tools
 
Search this Thread
 
Old 02 October 2001, 06:41 PM
  #1  
ChristianR
Scooby Regular
Thread Starter
iTrader: (1)
 
ChristianR's Avatar
 
Join Date: May 2001
Location: Europe
Posts: 6,329
Likes: 0
Received 1 Like on 1 Post
Post

brain is tired, how do you do a simple dos menu, with options say 1 to 6, and if a user types 3, it goes to 3, and does something?

Old 02 October 2001, 08:48 PM
  #2  
carl
Scooby Regular
 
carl's Avatar
 
Join Date: May 1999
Posts: 7,901
Likes: 0
Received 0 Likes on 0 Posts
Post

Try looking at some of the links in the other DOS thread -- the ericphelps site is great for this stuff.
Old 03 October 2001, 07:30 AM
  #3  
dowser
Scooby Senior
 
dowser's Avatar
 
Join Date: Oct 2000
Location: Zurich, Switzerland
Posts: 3,105
Likes: 0
Received 0 Likes on 0 Posts
Post

NT DOS doesn't, w2k DOS does

Richard
Old 03 October 2001, 10:53 AM
  #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
Post

use the choice command... can copy to nt4 as far as I can remember...

for Example:

@echo off
LH A:\NWCLIENT\LSL.COM
ECHO.
echo What type of Network Card is Installed ?
echo.
echo [O] Olicom
echo [D] Digital
echo [N] NE2000
echo [X] NetFlex-3
echo [C] Compaq/Intel Fast Ethernet
echo [T] Toshiba Laptop Xircom
echo.
choice /C:ODNXCT
echo.
IF ERRORLEVEL 6 GOTO XIRCOM
IF ERRORLEVEL 5 GOTO COMPAQ
IF ERRORLEVEL 4 GOTO NETFLEX
IF ERRORLEVEL 3 GOTO NE2000
IF ERRORLEVEL 2 GOTO DIGITAL

:OLICOM
LH A:\NWCLIENT\OCE4XODI.COM
GOTO END

:NETFLEX
LH A:\NWCLIENT\CPQNF3.COM
goto END

I can email you a copy if you need.

Or use dos 6.22 boot menu???

Such as

Config.sys


[MENU]
menuitem=olicom,MS Network Connection (Olicom)
menuitem=digital,MS Network Connection (Digital DC21143)
menuitem=n100,MS Network Connection (Compaq N100)
menuitem=el90,MS Network Connection (3Com 3c90x - Dell)
menuitem=ne2000,MS Network Connection (NE2000)

[common]
device=a:\net\himem.sys
device=a:\net\emm386.exe noems
dos=high,umb
files=30
device=a:\net\ifshlp.sys
lastdrive=z

[olicom]
[digital]
[n100]
[el90]
[ne2000]

Autoexec.bat

@echo off
a:\net\smartdrv.exe
prompt $p$g
pause
goto %CONFIG%

:OLICOM
copy a:\net\protocol.oli a:\net\protocol.ini
copy a:\net\system.oli a:\net\system.ini
GOTO NETWORK

IGITAL
copy a:\net\protocol.dc2 a:\net\protocol.ini
copy a:\net\system.dc2 a:\net\system.ini
GOTO NETWORK

:EL90
copy a:\net\protocol.3CO a:\net\protocol.ini
copy a:\net\system.3CO a:\net\system.ini
GOTO NETWORK

:NE2000
copy a:\net\protocol.ne2 a:\net\protocol.ini
copy a:\net\system.ne2 a:\net\system.ini
GOTO NETWORK

:N100
copy a:\net\protocol.n10 a:\net\protocol.ini
copy a:\net\system.n10 a:\net\system.ini

:NETWORK
path=a:\net
a:\net\net initialize
a:\net\netbind.com

etc
etc

David
Old 03 October 2001, 12:46 PM
  #5  
Captain Sensible
Scooby Regular
 
Captain Sensible's Avatar
 
Join Date: Jul 2001
Posts: 73
Likes: 0
Received 0 Likes on 0 Posts
Post

It's a long time snce I've done this stuff but I think on real DOS you can use choice...don't think NT DOS supports it...
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: Another DOS Question.



All times are GMT +1. The time now is 06:20 AM.