this post was submitted on 03 Oct 2025
1096 points (99.1% liked)

Programmer Humor

26691 readers
2168 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 

🫩🫩🫩🫩

you are viewing a single comment's thread
view the rest of the comments
[–] Johanno@feddit.org 18 points 3 hours ago (1 children)

Actually on windows 7 I found out how to get which process is locking one file.

You open the resources manager (task manager has a link to it)

Inside you can see how much each process uses on cpu, network and stuff.

And there is a tab where all used files for each process is listed. You can search for specific files.

[–] Landless2029@lemmy.world 15 points 2 hours ago (1 children)

Yeah there's a Microsoft sysinternals utility where you can drag a file into to fetch that info for you.

Makes zero sense there isn't a >Details in the error notification that tells you the damned process in Windows.

[–] Piafraus@lemmy.world 1 points 25 minutes ago

Not only that, but you can actually search all active processes to see which handles they keep references to. Just search the name of your file and it will show you the processes which use it