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-08-01 12:15
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » How to prevent deletion of a specified file under DOS View 885 Replies 2
Original Poster Posted 2007-10-18 15:49 ·  中国 广东 深圳 联通
新手上路
Credits 4
Posts 1
Joined 2007-10-05 16:04
18-year member
UID 98970
Gender Male
Status Offline
1. A programmatic method would be best
2. It can't be done by setting attributes, because the person deleting it can change the attributes back first

Please, experts, help me out
Floor 2 Posted 2007-10-18 17:32 ·  中国 海南 联通
中级用户
★★
Credits 215
Posts 105
Joined 2007-06-02 22:33
19-year member
UID 90083
Gender Male
Status Offline
Make a TSR, modify the interrupt services related to files, and just filter that file.
Floor 3 Posted 2007-10-27 21:47 ·  中国 广东 江门 开平市 电信
初级用户
★★
Credits 117
Posts 57
Joined 2007-10-23 20:57
18-year member
UID 100584
Gender Male
Status Offline
Remove the del function from Command.com, then make a del program and put it in the DOS directory
Forum Jump: