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-06-28 20:51
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » [Help] The correct usage of the break and switches commands, experts please View 646 Replies 1
Original Poster Posted 2005-03-24 00:00 ·  中国 湖北 武汉 电信
初级用户
Credits 129
Posts 9
Joined 2004-05-19 00:00
22-year member
UID 24796
Gender Male
Status Offline
I added these to CONFIG.SYS (MS-DOS 7.1)
BREAK=ON (to block CTRL-C)
SWITCHES=/F /N (mainly to disable F5 and F8 at boot)
But they have no effect at all.................. (I tried many times, and also read the examples in the help file over and over.................. I really have no way out)
Please, experts, help me out and teach me
Thanks
Floor 2 Posted 2005-03-25 00:00 ·  中国 广东 广州 白云区 电信
金牌会员
★★★★
D◎$ Fαп
Credits 4,562
Posts 1,883
Joined 2004-01-19 00:00
22-year member
UID 15812
Gender Male
From 广东广州
Status Offline
MSDOS 7.1 no longer supports the SWITCH command. To disable F4 and F8, you should add this line under the section in the msdos.sys file: BootKey=0.
To completely disable the Break and Ctl+C keys, the Break command indeed does not work. I posted a thread before introducing a very good program, please refer to: http://bbs.cn-dos.net/dispbbs.asp?BoardID=4&ID=15207.
----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
Forum Jump: