宝塔服务器面板,一键全能部署及管理,送你10850元礼包,点我领取

使用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.

3358 www.Sina.com/http://www.Sina.com/http://www.Sina.com /

使用Windows强制删除1. Force delete using Windows ) First,open the command prompt. To do this,startbyopeningthestartmenu ) Windows startbyopeningthestartmenu ) 652 andhittingenter.inthedialoguethatappears,type cmd and hit Enter again。

首先,打开命令提示符。 为此,首先打开“开始”菜单,键入run,然后按Enter键。 在显示的对话框中,键入cmd,然后再次按Enter键。

With the command prompt open,enter del /f filename,wherefilenameisthenameofthefileorfiles youcanspecifymultiplefilesusingcongcomon youwanttodelete.Microsoft’sdocumentationdescribesmoredetailsonadvanceddeletionmethodsusingthiscommand。

打开命令提示符并输入del /f filename。 其中filename是要删除的一个或多个文件的名称。 可以用逗号指定多个文件。 有关使用此命令进行高级删除的详细信息,请参阅Microsoft文档。

notethattodeletethefileyou’llneedtoeitherincludethefullpathofthefilewhereyoureplacefilename,ornavigatetothefolderitisconcontatatior andthenrunthedelcommand.seetheimagebelowforanexampleofthelattermethood

请注意,要删除文件,必须包含要替换filename的文件的完整路径,或者使用cd folderpath导航到该文件所在的文件夹,然后运行del命令。 有关后一种方法的示例,请参见下图。

2 .解锁器2. Use Unlocker ) unlockerisafreeprogramthatsimplifiesthedeletionoflockedfiles.itaddsacontextmenuitemtowindowsexexexiodsed vatedbyright-clicking.italsoallowstheusertorenameormovealockedfile。

Unlocker是一个免费程序,使删除锁定文件变得简单。 上下文菜单项将添加到Windows资源管理器中,并单击鼠标右键将其激活。 也可以重命名和移动锁定的文件。

There you have it,twosimplemethodsforfixingastubbornissue!

是的,解决顽固问题的简单方法有两个!

3:https://www.sitepoint.com/force-windows-delete-file /

使用windows强制删除文件