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-12 23:57
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » [Help] How to force delete a file: such as .EXE .DLL View 2,186 Replies 11
Original Poster Posted 2007-12-30 10:30 ·  中国 广东 广州 电信
初级用户
Credits 36
Posts 10
Joined 2007-12-29 21:16
18-year member
UID 107158
Gender Male
Status Offline
I want to delete a XX.DLL file... But it prompts "Cannot delete XXX: Access is denied. Make sure the disk is not full or write-protected and the file is not in use." :(
Floor 2 Posted 2007-12-30 14:31 ·  中国 江苏 苏州 吴江区 电信
新手上路
Credits 2
Posts 1
Joined 2007-12-30 13:55
18-year member
UID 107216
Gender Male
Status Offline
Floor 3 Posted 2007-12-30 18:19 ·  中国 江西 南昌 电信
中级用户
★★
Credits 245
Posts 123
Joined 2007-06-08 09:04
19-year member
UID 90636
Gender Female
Status Offline
This might be because a process is calling this dynamic link file. It's more convenient to use a third-party tool or terminate this process.
Floor 4 Posted 2007-12-30 23:49 ·  中国 广东 广州 电信
初级用户
Credits 36
Posts 10
Joined 2007-12-29 21:16
18-year member
UID 107158
Gender Male
Status Offline
The answer on the 2nd floor I tried.... It doesn't work.... "WINDOWS cannot find the file 'rimdir'....!!"
Floor 5 Posted 2007-12-31 00:09 ·  中国 上海 松江区 电信
铂金会员
★★★★
DOS一根葱
Credits 5,493
Posts 2,315
Joined 2006-05-01 10:41
20-year member
UID 54766
Gender Male
From 上海
Status Offline
It's very difficult to forcibly delete the XX.DLL that's in use. Usually the method I use is to echo.>xx.dll and then use the foreigner's Replacer.bat code to replace the XX.DLL and restart to delete.
http://www.cn-dos.net/forum/viewthread.php?tid=23453&fpage=1&highlight=Replacer
第一高手 第二高手

Floor 6 Posted 2007-12-31 14:10 ·  中国 上海 电信
初级用户
Credits 41
Posts 22
Joined 2007-11-17 20:31
18-year member
UID 102961
Gender Male
Status Offline
It's still better to use third - party tools.
Floor 7 Posted 2008-01-23 08:08 ·  中国 浙江 温州 平阳县 电信
初级用户
Credits 97
Posts 42
Joined 2006-10-05 22:12
19-year member
UID 64633
Gender Male
Status Offline
If this batch processing can determine what mileage uses it, and then the result can delete it.
Floor 8 Posted 2008-01-24 11:15 ·  中国 湖北 随州 电信
初级用户
Credits 29
Posts 16
Joined 2007-03-23 03:14
19-year member
UID 82610
Gender Male
Status Offline
Files that the system is using cannot be deleted of course. You can try using third-party software like Unlocker or 360 File Shredder. If using batch processing, you can restart the computer and enter the DOS boot disk to use the DEL command to delete.
Floor 9 Posted 2008-03-08 11:02 ·  中国 河南 洛阳 移动
初级用户
Credits 34
Posts 15
Joined 2008-02-14 17:29
18-year member
UID 110649
Gender Male
Status Offline
Floor 10 Posted 2008-03-08 11:37 ·  中国 山东 济宁 兖州区 联通
钻石会员
★★★★★
Credits 10,056
Posts 3,041
Joined 2002-11-11 00:00
23-year member
UID 223
Gender Male
Status Offline
简单就是美
Floor 11 Posted 2008-03-10 01:33 ·  中国 广东 深圳 罗湖区 电信
新手上路
Credits 16
Posts 7
Joined 2008-02-03 11:34
18-year member
UID 110105
Gender Male
Status Offline
Unlocker sometimes doesn't work either.
Floor 12 Posted 2008-03-11 16:27 ·  中国 上海 上海乾万网络(QianWan_Network)有限公司(电信出口)
中级用户
★★
我是DOS学者
Credits 367
Posts 180
Joined 2006-05-14 10:53
20-year member
UID 55507
Gender Male
From 重庆
Status Offline
It's possible it's caused by system calls. You need to end the processes of the calls first.

There's an absolutely reliable way. Install a DOS system, and then you can delete whatever you want below. It's more practical than file shredders... Haha
Forum Jump: