Usually when deleting a folder or deleting a single file, we often encounter the following problems, such as the operation cannot be completed or the file or folder has been opened in another program,
Of course, when I tried to delete a file with administrator rights, the same problem was prompted.

When deleting a file or folder, it prompts that access is denied, indicating that the problem is caused by our insufficient operation authority, but this problem is still prompted when we use the administrator to operate

Checking the operation permissions of the folder shows that our administrator account has full control permissions to this folder, so the reason prompted by the system does not exist.
Another reason for the prompt is that another program is using this file and the process cannot be used. At this time, we need to check who is the process calling this folder, and close this process.

How to find the resource monitor? Press the win key, search for the resource monitor, open it
Here we found the pid, just close it directly. You can choose to right click to end the process or use the following command
Next we are to perform our initial operation, delete the folder or file, you can right-click to delete, or use the following method:

Article catalog Foreword First, solve the idea Second, the answer 3. Reference documentation Foreword Deploying an ASP.NET Core project on IIS, an error that occupies the process during the update Fir...
When I recently dealt with strange problems, I made a low -level error, wasted a lot of time, and even watched the C code at the bottom of the JDK. The following test code is run by the Windows enviro...
Regarding the idea when compiling idea: Another program is using this file and the process cannot be accessed. Problem repair record First report the original text: Error:Maven Resources Compiler: Fai...
Another VMware program locks a part of the file and the process cannot access it This article is reproduced in the blog garden to record useful methods to solve your own problems original article Desc...
The scenario is as follows:I have a project A in Disk D, There is a class library AbsDataCache, which has 3 cs files, among which CacheManager is used to encapsulate the cache cache of asp.net and the...
1. Use the shortcut key (Ctrl+Alt+delete) to open the task manager, select the performance, and open the "Explorer" 2. Search for the handle associated below (the path where the file is stor...
After obtaining FileLock, when reading the file, an error "Another program has locked a part of the file and the process cannot access it." An error is reported when executing to in.readLine...
Android studio error D: \ ...... R.jar: Another program is using this file, the process can not access. Solution: Hold down Ctrl + Shift + Esc to open the Task Manager Enter the Performance tab Click ...
Android Studio error when running the project: E: *** app \ buildanz \ intermediates \ merged_java_res \ debug \ out.jar another program is using this file, the process can not access Open Windows Exp...
I found a problem when I was consolidated today, and I couldn't delete the source file after I merged the PDF file. Permissionerror: [Winerror 32] Another program is using this file, the process is un...