如何在Windows 7中强制删除硬盘上的文件 [英] How force delete the file on hard drive in windows 7

查看:178
本文介绍了如何在Windows 7中强制删除硬盘上的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个硬盘驱动器,这是一个错误的文件!当我想删除文件窗口时说:


您指定的文件名无效或太长。
指定一个不同的文件名。


但是文件未重命名!我该怎么办?

解决方案

当正在运行的进程具有该句柄时,您将无法修改该资源。



解决方案是结束所有处理您资源的进程。如下所示。






1。
结束所有具有处理资源的方法:



开始>>所有程序>>附件>>系统工具>>资源监视器(或运行 resmon.exe



关联的句柄中搜索资源 搜索框(红色圆圈)。在 Handle Name 列中查看是否有任何进程具有资源URI的句柄,然后右键单击并选择 End处理





2。
现在,您应该能够修改资源,例如删除,重命名,移动等。


I have a hard drive and this is a bad file on it! When I want to delete file windows says:

"The file name you specified is not valid or too long. Specify a different file name."

But the file not renamed! What do I do?

解决方案

You cannot modify a resource when a running process has a handle to it.

The solution is to end all processes that have a handle to your resource. This is shown below.


1. End all processes that have a handle to the resource:

Start>>All Programs>>Accessories>>System Tools>>Resource Monitor (or Run resmon.exe)

Search for the resource in the Associated Handles searchbox (circled in red). Look in the Handle Name column to see if any of the processes have a handle to the resource's URI and end those processes by right clicking and selecting End Process.

2. You should now be able to modify your resource, e.g. delete, rename, move, etc.

这篇关于如何在Windows 7中强制删除硬盘上的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆