中国DOS联盟论坛

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-16 12:43
47,813 topics / 349,903 posts / today 0 new / 48,258 members
DOS疑难解答 & 问题讨论 (解答室) » Why can't some files be deleted under DOS?
Printable Version  1,189 / 8
Floor1 醒门子 Posted 2003-12-03 00:00
初级用户 Posts 4 Credits 118
Because my QQ got infected, I uninstalled QQ. But when I looked under C:\PROGRAM FILE\TENCENT there were still several files left. Their extensions were DLL and EXE. My system is XP, so I formatted a floppy disk as a boot disk, rebooted, set BIOS to boot from FLLOY, entered DOS, and then used c:\...\tencent del *.* , but they still couldn't be deleted. In the end it was best to go into XP Safe Mode and delete them there. I don't know why they couldn't be deleted under DOS?
Floor2 aria Posted 2003-12-04 00:00
高级用户 Posts 243 Credits 924
Could you explain it a bit more clearly?
For example, what is the error message?
Floor3 醒门子 Posted 2003-12-04 00:00
初级用户 Posts 4 Credits 118
It seems there was no error message
Floor4 aria Posted 2003-12-04 00:00
高级用户 Posts 243 Credits 924
Maybe these are hidden files. When using del, they can't be found, so they can't be deleted
Floor5 冷石_jasv Posted 2003-12-06 00:00
初级用户 Posts 27 Credits 182
Use the deltree command
Floor6 imp Posted 2003-12-07 00:00
银牌会员 Posts 309 Credits 1,001
Maybe the read-only attribute is set

attrib -r file
Floor7 大炮 Posted 2003-12-22 00:00
初级用户 Posts 4 Credits 121
Remove all attributes first, then delete!
ATTRIB -R -H -S *.*
DEL *.*
Floor8 MYS Posted 2003-12-29 00:00
元老会员 Posts 1,637 Credits 5,170 From 广东佛山
I tried this before, and indeed there were some things in WIN95 that just couldn't be deleted under DOS no matter what. In the end I used DISKEDIT to change the first byte of those filenames to the deletion marker E5, then used CHKDSK or NDD to scan, and they would be treated as lost clusters and deleted.
Floor9 3dfx Posted 2004-02-19 00:00
高级用户 Posts 195 Credits 721
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023