`
Jan
  • 浏览: 158453 次
  • 性别: Icon_minigender_1
  • 来自: Hangzhou
文章分类
社区版块
存档分类
最新评论

怎样删除一个删不掉的文件?

阅读更多
这两天在家里和公司的电脑上都碰到了这个问题,或许你也碰到过。



重启以后也没用。这种样子的无法删除是由于explorer.exe进程锁住了文件所致,重启没有用很有可能是因为中了什么恶意插件,或者其他什么东东,在系统启动的时候随之启动给你的文件加了缩(以前重启都是百试百灵的绝招,难道现在已经发展到重装了?-,-)

几个解决办法:

1. 杀死explorer.exe进程
  • 打开command prompt
  • cd到需要删除文件的目录
  • ctrl-alt-del,在进程列表里面把explorer干掉
  • 回到command prompt然后把那个文件del了
  • 再次ctrl-alt-del,选择file->new task
  • 在create new task里面输入explorer.exe,回车
2. 使用Windows Recovery Console
  • 将Windows启动盘插入光驱,引导,在Welcome to Setup的时候按R,启动Recovery Console
  • cd到你要删除的文件所在目录,del之
3. unlocker

unlocker是一个非常好用的免费软件,专门用来处理这种情况。如果你删除一个文件的时候看到了这些信息:
  • Cannot delete file: Access is denied
  • There has been a sharing violation
  • The source or destination file may be in use
  • The file is in use by another program or user
  • Make sure the disk is not full or write-protected and that the file is not currently in use
unlocker都可以搞定。



4. linux live cd

随便找一张linux live/boot cd,引导系统,mount想要删除的文件所在分区,del之。live cd需要支持fat32/ntfs的写操作(现在的live cd应该都行),该方法比较暴力,慎用,尤其是对于ntfs文件系统的分区。...
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics