文件被进程锁定/无法删除文件,程序正在使用它 [英] File Locked by a Process / Unable to delete file, a program is using it

查看:210
本文介绍了文件被进程锁定/无法删除文件,程序正在使用它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

某些文件有时正在使用中,如果我们尝试访问这些文件..则表明错误文件正在使用中..

如果我们要安全地卸下PenDrive,则表明驱动器正在使用中..

Qn.知道当前哪个进程正在使用该文件?

解决方案

Handle是一个实用程序,它显示有关系统中任何进程的打开句柄的信息.您可以使用它查看打开了文件的程序,或者查看程序的所有句柄的对象类型和名称.
在以下位置下载它: http://technet.microsoft.com/en-us/sysinternals/bb896655.aspx [^ ]

Some files are sometimes in use and if we try to access those files .. It shows error File is in use ..

If we want to safely remove a PenDrive it shows drive is in use ..

Qn. Know which process is currently using that file? and How to close handle of that file?

解决方案

Handle is a utility that displays information about open handles for any process in the system. You can use it to see the programs that have a file open, or to see the object types and names of all the handles of a program.
Download it at: http://technet.microsoft.com/en-us/sysinternals/bb896655.aspx[^]


这篇关于文件被进程锁定/无法删除文件,程序正在使用它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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