![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-17 19:39 |
47,814 topics / 349,907 posts / today 4 new / 48,259 members |
| DOS疑难解答 & 问题讨论 (解答室) » How to modify COMMAND.COM to prevent users from terminating batch processing with CTRL+C |
| Printable Version 2,057 / 6 |
| Floor1 hyzys | Posted 2005-02-12 00:00 |
| 初级用户 Posts 17 Credits 189 | |
|
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? |
|
| Floor2 Michael | Posted 2005-02-12 00:00 |
| 钻石会员 Posts 3,041 Credits 10,056 | |
|
Modify the header or maybe the body of command.com. It's really sad that Ctrl+C terminates the batch processing.
|
|
| Floor3 DOSforever | Posted 2005-02-12 00:00 |
| 金牌会员 Posts 2,239 Credits 4,639 | |
|
Use 4DOS. It allows you to make the responses you specify for the CTRL-C or CTRL-Break key presses
|
|
| Floor4 gmy | Posted 2005-02-17 00:00 |
| 版主 Posts 392 Credits 1,113 | |
|
I'm also just about to ask this question, give it a bump, hope experts can offer solutions!
|
|
| Floor5 gmy | Posted 2005-02-18 00:00 |
| 版主 Posts 392 Credits 1,113 | |
|
Wengier, aren't you the one who knows the DOS kernel best? Please study this problem.
|
|
| Floor6 martin325 | Posted 2006-02-23 13:10 |
| 银牌会员 Posts 603 Credits 1,582 | |
|
Where can I download 4DOS?
|
|
| Floor7 本是 | Posted 2006-02-23 13:28 |
| 银牌会员 Posts 790 Credits 2,227 | |
|
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! |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |