Slashdot Mirror


Why We Should Stop Hiding File-Name Extensions

An anonymous reader writes 14 years after the Anna Kournikova virus took advantage of users' ignorance about file-name extensions in order to wreak worldwide havoc, virus writers and hackers are still taking advantage of the tendency of popular consumer operating systems to hide file-name extensions: Windows users still need to activate extension visibility manually – even though email-transmitted viruses depend most on less savvy users who will never do this. Additionally applications on even the latest versions of Apple's OSX operating system still require the user to 'opt in' to including a file-name extension during an initial save. In looking at some of the eccentricities of the modern user experience, this article argues that it might be time to admit that users need to understand, embrace and responsibly use the only plain-text, obvious indicator of what a file actually is.

23 of 564 comments (clear)

  1. Good operating systems Dont. by Anonymous Coward · · Score: 5, Insightful

    The crap ones like Windows and OSX, they hide it because they assume the user is a drooling moron.

    And most of the time they are right.

    1. Re:Good operating systems Dont. by ShanghaiBill · · Score: 5, Insightful

      The crap ones like Windows and OSX, they hide it

      I am using OSX right now. File extensions are not hidden. There are some dialogs that optionally hide them, usually when only one extension is possible, such as .pdf in Adobe Reader, but in general, they are not hidden. But even where extensions are hidden, it is not at the same level of stupidity as hiding them on Windows. On Windows, the extension actually changes how the operating system interacts with the file, such as whether it is executable. So Microsoft uses the extension to convey very important information, and then hides that information from users.

  2. Yes, I agree by GargamelSpaceman · · Score: 5, Insightful

    The first thing I do on windows is change the settings to show tilename extensions. Much of the confusion I see in others can be directly traced to the fact that they don't know what their files are.

    Stop being afraid to make someone learn something useful to use a computer.

    That being said, don't make people learn useless things. Design a powerful set of useful things to learn each of which is valuable and worth learning and remembering and then reward people for learning them by maintaining their usefulness

    Making things overly simple robs users of the power to make things simple for themselves, and ends upt complicating their interaction with the computer.

    --
    ...
    1. Re:Yes, I agree by Anonymous Coward · · Score: 5, Insightful

      "The first thing I do on windows is change the settings to show filename extension"

      Hear hear! Hide the extensions is one of the stupidest things Microsoft has ever done and it is a huge disservice to the end user.

      The condescending My Docs, My Music, et al should also go.

    2. Re:Yes, I agree by QilessQi · · Score: 3, Insightful

      This. I've seeing users create directories where they save the same file in different formats for different purposes, and the only thing different is the extension. If you can't see the extension, it looks like you've got multiple files named "foo" where only the icons differ.

    3. Re:Yes, I agree by gstoddart · · Score: 5, Insightful

      I just went through setting up a new Windows 8.1 machine.

      And the sheer quantity of places where Microsoft has more or less gone out of their way to hide basic stuff about your computer, and make it as difficult to find as possible -- well, that is kind of mind boggling (and very frustrating).

      And when they do make it available to you, they couch it in a "well, everything hereafter is your fault".

      Essentially, in my opinion, Microsoft has tried to dumb down the system so far that when you try to do anything it is almost useless, and if you need to see more information it just throws up its hands and says "fuck it, not my problem".

      So, maybe instead of trying to write a crappy, useless system for the users who will be scared to know they're looking at a text file or an exe ... Microsoft should try to write something which isn't crap, isn't still predicated on using that crap autorun to ensure every possible source of malware is ran without being prompted, and from the get go tells users "this is a computer, we're not hiding this from you".

      It boggles my mind even at work on a Windows server, when my account is an admin and I'm doing admin tasks how Microsoft goes out of their way to hide the actual functionality. And when they don't their "helpful" error messages are garbage ... like "something bad happened, contact your administrator". Tell you what, I'm the fucking administrator, why don't you tell me an actual error message instead of assuming I'm a child?

      It seems like the more Microsoft tries to dumb things down for their users, the worse they actually make their software. Because it actively tries to be sure you can't see what you know, and simply can't (or won't) tell you what happened when it should.

      Microsoft is way too focused on pointless eye candy (like the Metro interface on my desktop I had to remove), and dumbing down the user experience ... and seems to utterly fail to make it possible for someone who actually has some idea of what they're doing to find what they need.

      The more "helpful" they try to be, the less helpful and usable they actually are.

      --
      Lost at C:>. Found at C.
    4. Re:Yes, I agree by oodaloop · · Score: 3, Insightful

      It's a terrible name though. Typical conversation at work:

      Me: Hey, did you save that in My Places?
      Them: No, I logged you out. I saved it on my profile.
      Me: I know. Did you save it to your My Places, or somewhere else?
      Them: Oh yeah, I saved it on my desktop.

      --
      Tic-Tac-Toe, Global Thermonuclear War, and relationships all have the same winning move.
    5. Re: Yes, I agree by gstoddart · · Score: 4, Insightful

      Hell hath no fury like a nerd set in his ways.

      There's set in my ways, and then there's confronted with a modern piece of shit that some marketing wanker thinks is helpful.

      And, I'm sorry to say it, but almost all of the crap I had to figure out how to remove was garbage, intended to give a tablet like interface, using a UI which is mostly about eye candy.

      It serves no purpose, and provides no value to me.

      It's crap. But it's pretty.

      My problem with Microsoft is they seem to have forgotten that many of us still actually use computers to do our fucking work.

      Metro was a steaming pile of crap which wasn't useful for that.

      The OS itself seems good. The user interface has been designed by morons.

      --
      Lost at C:>. Found at C.
    6. Re:Yes, I agree by Anonymous Coward · · Score: 3, Insightful

      The condescending My Docs, My Music, et al should also go.

      WHY?! This actually teaches / encourages people to store their documents / pictures / music in *one spot*, which makes things much more simple to back up. Granted, not every user actually uses these folders for their intended purposes (I recall backing up a ~120GB "My Documents" folder becuase the user threw *all* files, picutres / music / videos / documents into it, with *no* sub-folders to sort everything, for example)...

      The reason to not use that structure is because it is a bad structure.
      First of all the "My" prefix is terrible. Yes, I know that they just want the user to feel at home, but in a work related environment "My" doesn't make sense. (And the categories are aimed at a home user anyway.)

      When it comes to the categories they are not laid out in a way home users or company users want to work with them.
      I have never encountered someone that wants to split up their vacation data into photographs and videos. Typically they want them grouped together.

      It's not clear if the music folder is for own composed music or purchased music. Typically you do not want to mix them and purchased music you generally want to share within the family anyway.

      The documents folder is badly named or another folder for projects is needed. If you write a report you want to keep supplementary data together with the document you are writing. This includes pictures.

      Sure, you can just make your own structure in the My Documents folder. Unfortunately a lot of programs thinks that that folder is their playground and stores user specific settings or data there.

      Microsoft has yet to come up with a good solution. The ones they have provided so far is extremely inadequate.

    7. Re: Yes, I agree by i.r.id10t · · Score: 3, Insightful

      No angst here about it - I make beer money every so often just by backing up a users actual data files they care about, browser profiles, mail client storage, wipe windows and reinstall, all updates, etc. and then put their data back. If you wanted to dedicate yourself to running a business with yourself and maybe a couple of part time PFY employees, you could make a very good living fixing these issues that are the result of what you consider poor design, and the stupid decisions users have made.

      --
      Don't blame me, I voted for Kodos
    8. Re:Yes, I agree by CaptainDork · · Score: 1, Insightful

      Fuck you.

      Are you going to crack a fucking book and learn the goddam business, or are you going to focus on YOUR job.

      People like you are why users hate us.

      --
      It little behooves the best of us to comment on the rest of us.
  3. Also, too many executables. by Anonymous Coward · · Score: 2, Insightful

    There's a whole slew of weird extensions now, that when clicked, do things.

  4. Better idea by BCGlorfindel · · Score: 3, Insightful

    Instead of insisting that modern OS design carry forward an old and archaic standard set of digits describing the type of file, show users visual information about the file type/associations in way that is meaningful to them. If it is an executable file, don't make users parse that .exe is short for that, and in many cases .com and .bat can kinda work the same way. Give users a visual identifier that lets them know clicking this file will lead to this action. A web icon for anything that'll attempt to open itself from a browser, a document icon for something that will open in a document viewer, and so on.

    Insisting on showing people a 3 character code that 99% of them are entirely ignorant of solves nothing.

  5. Re:Missing the problem by a mile by Luthair · · Score: 3, Insightful

    This seems irrelevant. If you have a jpeg with a TXT extension, Windows at least will treat the file as a text file not an image.

  6. Re:File extensions? by Qzukk · · Score: 5, Insightful

    The filetype is now contained in the icon

    The icon of an executable is set by the executable. Enjoy your porn.jpg.exe with a thumbnail icon.

    --
    If I have been able to see further than others, it is because I bought a pair of binoculars.
  7. Stop talking down to the user by Karmashock · · Score: 3, Insightful

    The tendency to treat the user like a moron is common on all the widely adopted consumer operating systems and it really does need to stop.

    It just leaves otherwise intelligent people utterly baffled when simple things happen because they're kept in a fantasy land by their GUI.

    --
    I've decided to stop wasting my time responding to AC trolls/sockpuppets... so if you want a response from me... login.
  8. Re:Missing the problem by a mile by Anonymous Coward · · Score: 2, Insightful

    My favorite is the config files for .Net programs.

    When you create an "app.config" file, Visual Studio handily renames it to be [compiled output file name].config. So if you have program named "foo", and you compile it to make "foo.exe", your app.config file is going to be named "foo.exe.config". Now, hide the file extension and see the confusion erupt on all sides. "foo.exe" becomes "foo", and "foo.exe.config" becomes "foo.exe". So instructing someone to run that executable becomes an exercise in frustration as they repeatedly open the config file with Notepad.

    Hiding file extensions needs to die, at the minimum. I'd like to see VS adopt a better naming convention for app.config files, too. Like just calling them "app.config" or at least [project name].config.

  9. Re:Yes, I agree, but no shortage of stupid GUI by gewalker · · Score: 4, Insightful

    No shortage of stupid user interface choices. Some of the ones I've hated the most.

    * Hiding menu options, aka personalized menus
    * Wholesale rearranging and renaming of user interfaces between versions, esp. for infrequently used options
    * Super secret hidden files.
    * Windows 8

  10. Re:That's the problem by jedidiah · · Score: 2, Insightful

    No. A user should be able to trust the name of the file.

    If the file isn't really what it says it is, then that should be a BIG RED FLAG for the user shell. At that point the OS should know to treat the file as a threat.

    A deceptively named file should immediately go into quarantine.

    Instead, the user (assumed to be an idiot) is just left to fend for themselves.

    --
    A Pirate and a Puritan look the same on a balance sheet.
  11. "Hiding Things" by Sir_Eptishous · · Score: 4, Insightful

    I hear the faint and cryptic laughter of Steve Jobs echoing in the distance...

    Hiding Things?
    Well of course, because modern UI design is all about obfuscating control over your device and interface.
    Microsoft and the rest(this includes Linux desktops) don't want a "cluttered" user experience. UI designers seem to forget that people to need to modify and control their device and interface.

    UI designers are too quick to "googlify" interfaces to such a degree that vast uncounted eons of time are wasted simply trying to modify simple things because UI designers have mandated a "spartan" and oh so Sprockets-like look and feel.
    Users are tricked into thinking they shouldn't see the nuts and bolts.
    Users are treated like idiots, and then become idiots.

    --
    We play the game with the bravery of being out of range
  12. Re:Even worse - extensions == "chmod +x" ?!? by jellomizer · · Score: 4, Insightful

    The extension vs file system property is a trade off case. If I see a .EXE file I expect it to be a binary file. if I see a file which a 755 mod to it. How would I know if it is a binary file vs. a script without looking into it. Renaming a .bat file to a .exe will prevent it from running. A file that is chmod 755 will try to run. So the file extension is actually a good way to know what type of file it is.

    --
    If something is so important that you feel the need to post it on the internet... It probably isn't that important.
  13. Why trust users to do it? by hawguy · · Score: 3, Insightful

    Why trust users to know what file extensions are "safe" and which are not? Surely the same computer that shows "ImportantFile.doc" to the user when it's really "ImportantFile.doc.exe" can be smart enough to pop up a message when someone clicks on it: "Hey, this filename *looks* like a document, but it's really an executable so instead of opening a document, I'm going to run it. It's probably a terrible idea to run it, so I'm not going to do it, you'll have to rename it to something less ambiguous if you really want to run it. But you should't do that. Really. I'm not kidding."

  14. Re:Even worse - extensions == "chmod +x" ?!? by BasilBrush · · Score: 4, Insightful

    So the file extension is actually a good way to know what type of file it is.

    No, it's brain dead. The filename is a name. The filetype should be another piece of metadata. (and not just an executable flag either - a complete file type.)

    If the file type needs to be seen by the user, then that's a UI design issue, not a reason to have brain dead mixed purpose metadata fields.