4 ms·
The file browser just looks at the extension, rather than the file header, so yes. This can be tested by creating a dummy .txt file and changing it's extension
by zxcdw 13y ago
The file browser just looks at the extension, rather than the file header, so yes.
This can be tested by creating a dummy .txt file and changing it's extension -- the icon changes although file contents remain the same.
- groby_b 13y agoThe extension is still .exe, though. It only _looks_ like .doc after font rendering. And so, as the OP suspected, the .exe needs to have the proper icon embedded. It's not provided by the file browser.
- rcthompson 13y agoSo it seems like one important thing that Windows (or any OS) should do is to not display custom icons for untrusted executables.