4 ms·
> Operating system should already know if a file is executable and desktop should be using this information when presenting files instead of conventional names.
by thaumasiotes 5y ago
> Operating system should already know if a file is executable and desktop should be using this information when presenting files instead of conventional names.
That already happens. If you set the "Details" view in Windows, it will display one file per row with various columns showing file metadata, including the file type. So for the example in the post, you'd see "[Word icon] annexe.doc - [the date] - Application" as opposed to "[Word icon] annexe.doc - [the date] - Microsoft Word 97 - 2003 Document".
- ajuc 5y agoI meant more like huge red and green exclamation mark near the file icon, not "type: Application" hidden in rarely shown places. In linux it's pretty obvious: https://www.rootusers.com/wp-content/uploads/2018/01/gnome-terminal.png https://www.rootusers.com/wp-content/uploads/2018/01/gnome-t... The main advantage is that the UI for opening documents (vim file) is different from the UI for running executables (./file) which is different from the UI for running executables as administrator (sudo ./file). This makes it impossible to accidentally execute a file that looks like a document.