this post was submitted on 19 Feb 2024
15 points (100.0% liked)
Programmer Humor
19536 readers
646 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 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Perfectly safe on Windows, too. The remove() function doesn't work on directories.
Remove-Item -LiteralPath "C:" -Force -Recurse
I'm curious. Does anyone like PowerShell, and the syntax you end up with?
Yeah I'm a big fan of it. People complain about the verbosity of it but I like that for readability and autocomplete makes that a non issue I find. Plus if you really want to save on typing when using it as a terminal tool you can just make aliases for all your common commands.