Date: Wed, 5 Aug 1998 13:19:25 -0400 (EDT) From: Gregor J Jones To: opendos AT delorie DOT com Subject: Re: Timeout In-Reply-To: <199808050511.AAA06157@smtp1.mailsrvcs.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 4 Aug 1998, Marc D. Williams wrote: | The person uses NDOS as a command processor. Anyone know if it has | the same following features as 4DOS: DELAY, INPUT, INKEY? | | ------- Forwarded Message Follows ------- | | Do you know of a DrDos user's group I could ask the following question: | "how can a "switch" menu within the autoexec.bat be timed-out under | DrDos6"? A "timeout" period defined in the dconfig.sys does not seem to | apply. Three times yes: DOS version 6.22 NDOS, Norton Utilities version 8.0, Copyright 1993 by Symantec Corporation c:\delay /? Pause for a specified period of time. DELAY [seconds] seconds Number of seconds to pause. DELAY by itself pauses processing for one second. c:\input /? Enter an environment variable from the standard input. INPUT [/Wn] [text] %%varname /Wn Wait: Timeout period (n is the number of seconds to wait for a key press). All characters entered up to, but not including, the carriage return stored in the variable. c:\inkey /? Get a single keystroke environment variable from standard input. INKEY [/K"..."] [/Wn] [text] %%varname /Wn Wait: Timeout period (n is the number of seconds to wait for a key press). /K"..." Allowable Keystrokes: Enclose the list in double quotes. An ASCII value from 1 to 255 is stored as a character. Extended characters, such as function keys and cursor keys, are stored as a string in decimal format with a leading @ (for example, the F1 function key is @59). HTH -- Dr Gregor J Jones tel: 617-638-5336 (W) Dept Physiology 617-262-8205 (H) Boston University Sch Med fax: 617-638-4273 Boston MA 02118 mailto:gjones AT bu DOT edu