China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-23 17:55
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » Question: How do I write “press any key to exit” in a batch file on a boot disk? View 583 Replies 1
Original Poster Posted 2003-10-22 00:00 ·  中国 重庆 电信
初级用户
Credits 111
Posts 3
Joined 2003-10-12 00:00
22-year member
UID 11108
Gender Male
Status Offline
I have one option in WBAT: continue next, and the other is press any key to exit. How do I write that in a batch file?
For example:
wbat box “next continue or press any key to exit:” next
if errorlevel 1 goto next
:next
。。。。
How can I implement the “press any key to exit” function here? Thanks
Floor 2 Posted 2003-10-23 00:00 ·  中国 广东 广州 白云区 电信
初级用户
★★★
Credits 1,480
Posts 377
Joined 2003-06-06 00:00
23-year member
UID 3875
Gender Male
Status Offline
Press any key to exit? Then how are you going to go to next?
欢迎大家访问我的主页!
精品.爱好http://iso.533.net
Forum Jump: