this post was submitted on 03 Oct 2025
1159 points (99.2% liked)

Programmer Humor

26691 readers
3122 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
 

๐Ÿซฉ๐Ÿซฉ๐Ÿซฉ๐Ÿซฉ

top 50 comments
sorted by: hot top controversial new old
[โ€“] sik0fewl@lemmy.ca 2 points 1 hour ago (1 children)

Meanwhile on Linux: /boot successfully deleted

[โ€“] zerofk@lemmy.zip 2 points 38 minutes ago

I once deleted /dev/null Do not recommend. Youโ€™d be surprised how much of the system needs it.

[โ€“] Inucune@lemmy.world 2 points 1 hour ago

Process explorer, threads and handles tool, search the file name.

Kill the process or at least you know who now.

Well duh, Microsoft respects privacy

[โ€“] Johanno@feddit.org 19 points 5 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 24 points 4 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 2 points 2 hours 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

[โ€“] kuneho@lemmy.world 52 points 9 hours ago* (last edited 9 hours ago) (2 children)

back in the XP days, I used a software called "Unlocker" just for this problem. It probably still exists, I don't know, because since Windows 7, the easiest way to find out what process locks a file is to open Resource Monitor (Start search: resmon) and on the CPU tab, using the "Associated handles" list, you can search for the file name and see the process in question (and kill it).

So yeah, Resource Monitor is a useful tool on Windows.

[โ€“] rumba@lemmy.zip 1 points 1 hour ago

The bugs and horribly slow hardware that caused the locks in NT/XP have slowly disappeared, by win 10, I rarely had any files I couldn't delete if I, worst case, made explorer reload. It used to happent o be every other day in the late 90s

[โ€“] rockerface@lemmy.cafe 44 points 9 hours ago (9 children)

There's a collection of free little utilities called Microsoft PowerToys, including the file unlocker thing. Why would they not include these into base kit Windows is beyond me.

[โ€“] BilSabab@lemmy.world 19 points 8 hours ago (3 children)

not including PowerToys inside basic package is a fucking choice. Win11 is literally unusable without it in many aspects.

[โ€“] TeddE@lemmy.world 4 points 4 hours ago (2 children)

I suspect it's in line with big tech policies to coddle end users instead of educating or trusting them. I assert (particularly since the introduction of the iPhone in 2007) that learned helplessness is built into the game plan.

[โ€“] MonkeMischief@lemmy.today 1 points 1 hour ago

100%! Like with major setups and upgrades now just being throbbing circles and a pulsing blue light with the creepy "We're doing stuff on your behalf behind this screen." messaging.

I say computers (and the Internet) are for anybody, but not everybody. Learning to use a tool will always be a requirement of useful tools.

There used to be a time when most people using a computer implicitly understood how files and folders worked, for instance. But now even such a simple abstraction is considered advanced esoteric lost arcana.

I'm deeply saddened by how the tech industry has deliberately pushed understanding backwards so hard in order to foster more obedient consumers.

It's actually wild to see how many people who were at the very least, young adults during the computer boom of the late 80's/early 90's, can't handle anything without a touch screen and don't comprehend email.

Ignorance is sold as the future.

[โ€“] BilSabab@lemmy.world 3 points 3 hours ago

My dad used to say Apple is evil exactly because of that - they make stuff for people who want fancy shit but have little to no interest in actual tech.

Sysinternals is also a great tool. Not as vital for the average user though.

[โ€“] AndyMFK@lemmy.dbzer0.com 15 points 7 hours ago (2 children)

I would argue windows 11 is pretty much unusable regardless

[โ€“] untorquer@lemmy.world 1 points 1 hour ago

It works you just have to launch outlook 3 times for it to take.

load more comments (1 replies)
[โ€“] Redex68@lemmy.world 9 points 8 hours ago (1 children)

I feel like it's a testing ground for new features for them, but not sure why some aren't yet integrated. Best guess: the PowerToys team has less red tape and checks to go through than the Windows team to allow for faster iteration, but that means that integrating the features wouldn't be just the click of a button since they'd have to adapt it to fit the Windows style. But this is just a wild guess.

[โ€“] some_kind_of_guy@lemmy.world 5 points 3 hours ago (1 children)

I think you're right on the money. There seems to be a component of enticing power users to stick with Windows as well. The app is still "in beta" despite the first release being in 1996 (!). I had to look that up, because I'd only heard about it in the early windows 10 days.

[โ€“] Deebster@infosec.pub 3 points 2 hours ago

The first version of PowerToys was released for Windows 95 on 17 November, 1996 as a download on Microsoft's FTP server at the time.

Well wadaya knows?

I like that it wasn't a proper installed thing, just a bunch of executables in a zip file.

load more comments (7 replies)
[โ€“] sefra1@lemmy.zip 148 points 11 hours ago (1 children)

"Hey Linux, can you just delete this file please?"

"Sure thing bud, a program is using it, it's ok, I will just unlink the inode anyway, the program can still access it until it closes the file"

[โ€“] xthexder@l.sw0.com 52 points 10 hours ago (3 children)

This is honestly one of my favorite features of the linux filesystem. As a dev it makes things like replacing and hot-reloading plugins way easier.

It turns out you can kind of get the same functionality on Windows if you rename the open file and place the new one with the original name, but it's a bit of a hack.

It turns out you can kind of get the same functionality on Windows if you rename the open file and place the new one with the original name, but it's a bit of a hack.

Only if you don't have OneDrive working. In that case, you have to wait for it to sync or it won't go through.

Anytime I have an issue at work where I can't change or delete a file, it's a 50/50 split between Excel and OneDrive being the cause

[โ€“] WhyJiffie@sh.itjust.works 1 points 1 hour ago

the mpv player does that too for the cache folder. It's configurable and documented

[โ€“] oascany@lemmy.world 34 points 10 hours ago (8 children)

Windows won't let you rename a file that's being used either.

load more comments (8 replies)
load more comments
view more: next โ€บ