You are currently offline, waiting for your internet to reconnect

MS-DOS: No Interactive Boot Option for the AUTOEXEC.BAT File

This article was previously published under Q97504
This article has been archived. It is offered "as is" and will no longer be updated.
The interactive boot option included with MS-DOS 6.0 (the F8 key)works with the CONFIG.SYS file only; it does not work with theAUTOEXEC.BAT file. Stepping through a batch file using the interactiveboot option is not a feature of MS-DOS 6.0. You can, however, use theCHOICE and IF ERRORLEVEL commands to step through the AUTOEXEC.BATfile.

NOTE: This information does not apply to later versions of MS-DOS.
More information
The CHOICE command provides the ability to prompt for input whilerunning a batch file program. With the CHOICE command, you can displaya specified prompt and then pause for user input. For example, if youadd the following line to a batch file program
CHOICE /C:ABC Choose an Option
the user sees the following when CHOICE is started:
Choose an Option [A,B,C,]?
For more information on using the CHOICE command, type help choice at the MS-DOS command prompt.

Article ID: 97504 - Last Review: 11/02/2013 04:29:00 - Revision: 2.0

Microsoft MS-DOS 6.0 Standard Edition

  • kbnosurvey kbarchive KB97504