🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #787

Re: Batch File Question . . . HELP

#787
From: Jim Haas
Date: Wed, 15 Apr 1992 15:07
19 lines
1637 bytes
In article <1992Apr14.132544.1@hmivax.humgen.upenn.edu> nussbaum@hmivax.humgen.upenn.edu  
(Nussbaum Lab, Univ. of Pa.) writes:
> I have a very simple problem for anyone who happens to program.  I have MS-DOS
> 5.0 and I want to write a simple menu program to run all of my applications
> from.  I.e., I want to put the file into my AUTOEXEC.BAT.  However, I can't
> seem to figure out how to run a batch file with a prompth in it so that you can
> type a character (1 - n . . .) and have a specific application run.
> 
> I don't want the program to simply generate a menu and then have each
> application run by starting a file called, for example, 1.bat, etc.
> 

	What you want to do can be accomplished by using a program called 4Dos... 4Dos,  
which you may have heard of, is a command.com replacement with scores of indispensible  
features...  *HIGHLY* recommended.  One of the many features is an enhanced batch file  
language which includes commands such as inkey which will do what you want.  
	If you're interested in 4Dos, it's up to version 4 I believe and is available on  
most BBS's...
							Jim
Technical Details
Message-ID: <1992Apr15.150738.8460@pellns.alleg.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!mips!darwin.sura.net!udel!rochester!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!fs7.ece.cmu.edu!pellns.alleg.edu!news
References: <1992Apr14.132544.1@hmivax.humgen.upenn.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!mips!darwin.sura.net!udel!rochester!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!fs7.ece.cmu.edu!pellns.alleg.edu!news
From: haasj@coch5.alleg.edu (Jim Haas)
Subject: Re: Batch File Question . . . HELP
Message-ID: <1992Apr15.150738.8460@pellns.alleg.edu>
Sender: news@pellns.alleg.edu
Organization: Allegheny College
References: <1992Apr14.132544.1@hmivax.humgen.upenn.edu>
Date: Wed, 15 Apr 1992 15:07:38 GMT
Lines: 19