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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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
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.Jesus it's not even like it just ran
rmdirfrom the current directory and got lost, it just flat out explicitly deleted everything from the root of the drive