>
  > Now, for my inquiry.  Having gotten DOS installed and made the CF disk
  > bootable, I'd like to make myself a little menu that times out after, say,
  > 5 seconds, after which it boots the router (router.bat).  That will give
  > me a few seconds to get to a DOS prompt, should I need to.  I made myself
  > a timeout menu like that for a DOS/Basiclinux machine that I have which
  > has various Linux partitions I can boot to, but defaults to one after a
  > certain amount of time.  I could probably just cannibalize that menu for
  > the new project.  But one feature I'd like to have that I couldn't
  > implement on that timeout menu was a countdown timer.  In other words,
  > what I'd like to do is have a message appear onscreen something like:
  >
  > The machine will boot to Freesco in 5 seconds X
  >
  > In the place of the "X", there should be first a 5, then after 1 second a
  > 4, then after another second a 3 - I think you get the idea.  When it
  > gets to zero it should invoke router.bat .  How is this countdown timer
  > done?  Thanks for any input on that.  Hope the above info may be helpful
  > to someone and save them the alnight vigil I just had trying to get CF
  > booting.
  >
  > James
  >

James,
If you are booting into "COMMAND.COM" from MS DOS 6.22, maybe even
6.0, or higher, you can use the CHOICE command in your MENU file...
if it is a simple BATCH program, the syntax is pretty straightforward:

CHOICE 123 /T:90,1 Press the number of your choice

Will display:
Press the number of your choice

It will default to choice number 1 in 90 seconds...
the time (T:) can be from 1 to 90...you can have
as many options as you would probably want...
At the DOS prompt, type HELP CHOICE and press ENTER
for more detail.
If you don't have CHOICE with your version of DOS,
I have a little utility called GETKEY which does the same thing
in other DOS versions.

Hope this helped a bit!
C U L8R!
Wiz  <{;-)

Wiz  <{;-)
Wizard57M
Glenn Gilbreath Jr.
http://members.surfbest.net/[EMAIL PROTECTED]/index.htm
-- DOS Internet, Close Windows and Keep the Internet Open! --

To unsubscribe from SURVPC send a message to [EMAIL PROTECTED] with 
unsubscribe SURVPC in the body of the message.
Also, trim this footer from any quoted replies.
More info can be found at;
http://www.softcon.com/archives/SURVPC.html

Reply via email to