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-29 17:06
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » How to modify COMMAND.COM to prevent users from terminating batch processing with CTRL+C View 1,970 Replies 6
Original Poster Posted 2005-02-12 00:00 ·  中国 广东 河源 连平县 电信
初级用户
Credits 189
Posts 17
Joined 2004-09-23 00:00
21-year member
UID 31697
Gender Male
Status Offline
We already know that by replacing the "DEL" characters in COMMAND.COM with other characters, users can't use the DEL command.
Humbly asking, how to modify COMMAND.COM (using software like UltraEdit) to prevent users from terminating batch processing with CTRL+C? That is, which part or parts of COMMAND.COM need to be modified?
Floor 2 Posted 2005-02-12 00:00 ·  中国 山东 济宁 联通
钻石会员
★★★★★
Credits 10,046
Posts 3,039
Joined 2002-11-11 00:00
23-year member
UID 223
Gender Male
Status Offline
Modify the header or maybe the body of command.com. It's really sad that Ctrl+C terminates the batch processing.
简单就是美
Floor 3 Posted 2005-02-12 00:00 ·  中国 上海 电信
金牌会员
★★★★
Credits 4,639
Posts 2,239
Joined 2005-01-30 00:00
21-year member
UID 35785
Gender Male
Status Offline
Use 4DOS. It allows you to make the responses you specify for the CTRL-C or CTRL-Break key presses
Floor 4 Posted 2005-02-17 00:00 ·  中国 河北 唐山 联通
版主
★★★
操作系统爱好者
Credits 1,113
Posts 392
Joined 2002-11-11 00:00
23-year member
UID 228
Gender Male
Status Offline
I'm also just about to ask this question, give it a bump, hope experts can offer solutions!
DOS之家 http://doshome.com 站长 葛明阳
Floor 5 Posted 2005-02-18 00:00 ·  中国 河北 唐山 联通
版主
★★★
操作系统爱好者
Credits 1,113
Posts 392
Joined 2002-11-11 00:00
23-year member
UID 228
Gender Male
Status Offline
Wengier, aren't you the one who knows the DOS kernel best? Please study this problem.
DOS之家 http://doshome.com 站长 葛明阳
Floor 6 Posted 2006-02-23 13:10 ·  中国 浙江 杭州 电信
银牌会员
★★★
Credits 1,582
Posts 603
Joined 2006-02-20 20:26
20-year member
UID 50690
Status Offline
Where can I download 4DOS?
Floor 7 Posted 2006-02-23 13:28 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
It's of little significance!
Because the processing of CTRL+C is in the INT 23h interrupt, you can modify this interrupt to execute the user program;
Or more simply, SHELL=x:\abc\command.com, and the COMMAND.COM you modified will immediately become invalid!
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Forum Jump: