Accepting Keyboard Input in Batch Files (77457)
The information in this article applies to:
• Microsoft MS-DOS operating system 3.1
• Microsoft MS-DOS operating system 3.2
• Microsoft MS-DOS operating system 3.21
• Microsoft MS-DOS operating system 3.3
• Microsoft MS-DOS operating system 3.3a
• Microsoft MS-DOS operating system 4.0
• Microsoft MS-DOS operating system 4.01
• Microsoft MS-DOS operating system 5.0
• Microsoft MS-DOS operating system 5.0a
• Microsoft MS-DOS operating system 6.0
• Microsoft MS-DOS operating system 6.2
• Microsoft MS-DOS operating system 6.21
• Microsoft MS-DOS operating system 6.22
This article was previously published under Q77457
SUMMARY
The MS-DOS batch language facility does not provide a means for you to
provide input to control program flow. All information input from you
must be entered from the command line.
By using a short program created with the MS-DOS Debug utility, you
can provide information at the time of batch file execution.
NOTE: Although the Debug program works with MS-DOS 6.0 or 6.2, it is
not required. If you are using MS-DOS 6.0 or 6.2, type help choice
at the MS-DOS command prompt for more information.
REFERENCES
"Supercharging MS-DOS," pages 97-98, by Van Wolverton, Microsoft
Press, 1989, 1991 (Updated for Version 4).
Modification Type: |
Major |
Last Reviewed: |
5/12/2003 |
Keywords: |
KB77457 |
|