Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Everything in windows related to paths and files sucks
In every programming language you have to write \\
And who thought it was a good idea to make the fs case insensitive, disallow names like CON or use \r\n? -
@devRancid a few days ago I found another weird behavior related to paths:
cd to any folder, then try to modify that folder or one of its parents in the file explorer.
It will complain that it is currently in use. -
@Lensflare Well that's not completely stupid though is it? The explorer process is in fact using that folder and you don't want the folder to disappear just as you're about to copy/paste something from it right?
-
@PotatoCookie I think you misunderstood me.
You open cmd, type in "cd path/to/folder".
Now it somehow has an effect on the explorer so that you can not rename or delete that folder.
This is weird because you don’t expect "cd" to mutate some global state.
I don’t know if it’s stupid, just weird. -
@PotatoCookie it is stupid
KDE/Dolphin allows you to delete the parent folder if you're already in it
And
- UI updates to "empty folder"
- terminal shows a lock icon (at least in zsh) -
@devRancid there's arguments for both types of behavior I guess but personally I would dislike a folder being able to disappear when having it opened in a graphical program.
@Lensflare Indeed, I assumed you were talking about explorer (no clue why). Terminal CD blocking folder removal is weird indeed. -
I encountered so many times that windows locks a file for some reason and then you have to take wild guesses why, because it doesn't tell you
-
@devRancid There are utilities to figure out why a file is locked. Generally it is something stupid indeed like explorer or system. And indeed Windows is not very clear about this in the "usual" programs like explorer.
However being able to delete or change a folder that is opened in graphical programs sounds like a bad idea to me and not a windows issue.
Files being locked for no apparent reason and being unable to figure out why easily, is a windows issue.
Both are unrelated though. -
30hrs1002yOn Linux I once created a file with a leading space in its name. It took a while to figure out why I could see the file in a listing but I couldn't load it into the editor. The allowance of control characters in file names is also completely crazy.
Woah that’s one hell of a meme
joke/meme