this post was submitted on 01 Dec 2025
1182 points (98.9% liked)

Programmer Humor

27679 readers
563 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 5 days 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 5 days 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 4 days 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