this post was submitted on 01 Dec 2025
1226 points (99.0% liked)

Programmer Humor

29764 readers
325 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
[–] HereIAm@lemmy.world 5 points 2 months ago (1 children)

It's windows. And we don't see the rest of the command (that would include the path) it's likely it included the flag to remove files, as it was actually trying to remove a whole project.

https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/rmdir

[–] Cevilia@lemmy.blahaj.zone 10 points 2 months ago (1 children)

In the original Reddit post the full command is given as rmdir /s /q d:\ which does indeed include the flag to remove files and subdirectories.

[–] Trainguyrom@reddthat.com 1 points 2 months ago

Jesus it's not even like it just ran rmdir from the current directory and got lost, it just flat out explicitly deleted everything from the root of the drive