admin管理员组文章数量:1516870
windows强制删除文件
Sometimes, for whatever reason, Windows will become convinced a given file is in use by a program and prevent it from being deleted, moved or renamed. This locking up of files is incredibly frustrating, especially when you know the file is not, in fact, being used. Here are two ways to get around that issue.
有时,无论出于何种原因,Windows都会确信程序正在使用给定文件,并阻止该文件被删除,移动或重命名。 文件的这种锁定令人难以置信的令人沮丧,尤其是当您知道实际上并未使用该文件时。 这是解决该问题的两种方法。
1.使用Windows强制删除 ( 1. Force delete using Windows )
First, open the command prompt. To do this, start by opening the Start menu (Windows key), typing
run
, and hitting Enter. In the dialogue that appears, type
cmd
and hit Enter again.
首先,打开命令提示符。 为此,请先打开“开始”菜单(Windows键),键入
run
,然后按Enter。 在出现的对话框中,键入
cmd
然后再次按Enter。
With the command prompt open, enter
del /f filename
, where
filename
is the name of the file or files (you can specify multiple files using commas) you want to delete. Microsoft’s documentation describes more details on
using this command.
打开命令提示符后,输入
del /f filename
,其中
filename
是要删除的一个或多个文件的名称(可以使用逗号指定多个文件)。 Microsoft的文档描述了有关使用此命令的
更多详细信息。
Note that to delete the file you’ll need to either include the full path of the file where you replace
filename
, or navigate to the folder it is contained in using
cd folderpath
, and then run the
del
command. See the image below for an example of the latter method.
请注意,要删除该文件,您需要包括替换
filename
的文件的完整路径,或者使用
cd folderpath
导航到该文件所在的文件夹,然后运行
del
命令。 有关后一种方法的示例,请参见下图。
2.使用解锁器 ( 2. Use Unlocker )
is a free program that simplifies the deletion of locked files. It adds a context menu item to Windows Explorer, and can be activated by right-clicking. It also allows the user to rename or move a locked file.
是一个免费程序,可简化锁定文件的删除。 它将上下文菜单项添加到Windows资源管理器,并且可以通过右键单击来激活。 它还允许用户重命名或移动锁定的文件。
There you have it, two simple methods for fixing a stubborn issue!
有了,有两种简单的方法可以解决顽固的问题!
翻译自:
windows强制删除文件
版权声明:本文标题:Adobe Flash中心挑战?这里有强力手段清除Flash Player! 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.betaflare.com/biancheng/1770863041a3259370.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论