Slashdot Mirror


File Extensions And Monopolies

A_Non_Moose sent us an article from Salon that talks about how file extensions are one of the tools used by Microsoft to extend their mind and market share. It's a very simple idea but its honestly something I'd never thought about. Definitely worth a read, and a few neurons to realize how its really the simplest of things that will guarantee that this monopoly isn't stopped even if Microsoft's deep pockets didn't let them buy the law.

50 of 881 comments (clear)

  1. Re:Windows 3.1 by gorillasoft · · Score: 4, Informative

    That is still available, if you hold down Shift as you right-click.

  2. Mac solution is nice but... by sporty · · Score: 3, Informative
    In the article, it mentions the Mac way of doing it is quite nice without mentioning its downfall. I made the mistake of trying out soundjam on one of my mp3's, and then it changed its resource fork (or so i was told it is called), 8 or 9 bytes saying what type of file it is and what its associated to. Great, so this mp3 when I double click on it launches soundjam instead of itunes. I never asked for that.

    Over time, I got irritated with soundjam and went back. I got rid of the program but the association is still there. I know how to fix it, but if someone was a little less knowledgeable or someone writes a program to change all my associations, I'd be quite.. irritated.

    I know, its possible for any dos/win program to change my PC file extensions too, but its more obvious and probably a lot less likely.

    --

    -
    ping -f 255.255.255.255 # if only

  3. Its not just MS . . . by jgaynor · · Score: 5, Insightful

    Remember when Netscape and IE fought for .html and URL rights EVERY time you opened them?

    RealPlayer, Winamp, Winzip, photoshop, even stupid ass AOL all do this . . .

    Installation defaults of all these apps try and steal file extensinos away from programs. Its just a matter of knowing what boxes to uncheck during the installation. Ordinary users simply dont know what they're clicking through during an install.

    Once a program gets a hold of an extension its almost impossible for a normal user to fix it. You cant expect users to know where to reassign file extension ownership (in the file association tab under folder options).

    1. Re:Its not just MS . . . by Jburkholder · · Score: 4, Interesting

      >Its just a matter of knowing what boxes to uncheck during the installation. Ordinary users simply dont know what they're clicking through during an install.

      Man, the worst offender I ever experienced was paintshop pro. This was especially bad if you were stupid enough (as I was once) to download and install the TRIAL VERSION!.

      It took _every_ file extension it decided it should handle and changed the registered extension app without asking (or even giving an option in the install, custom install not being available in the 'demo').

      So, after using the software for 30 days (or less!) and deciding I didn't want it, there was no way to restore the file extension settings (other than manually, of course).

      At first, I would still click on the file I wanted to open and PSP would come up and rag at me that my trial had expired and I should buy the damn thing. Of course, my response was to uninstall the stupid thing. Not much better, now windows would report that it couldn't find the registered application for the file I was opening.

      You can, of course, hunt down the view/folder options/file types dialog and then manually change each extension back to some other app install on your system. Most programs these days will ask during the install which extensions you want to have automatically opened by the program, and others are even smart enough to offer the right-click/open with option during the install.

    2. Re:Its not just MS . . . by jesser · · Score: 3, Insightful

      I think the main problem is that when I have both IE and Mozilla installed, there's no easy way to have both "Open in IE" and "Open in Mozilla" in the context menu for an html file. IE and Mozilla fight for the extension, not giving you the option to have both browsers associated with the file type. If you want to change your default browser later, and you somehow manage to find the "open with..." option in explorer (shift+right-click), you have to select from a list of every application on your system rather than just a list of web browsers.

      In addition to those problems, the single-program-per-extension system forces uninstallers to be unnecessarily complex. For example, if you uninstall Mozilla, apparently it's Mozilla's responsibility to tell Windows to switch back to using IE. Mozilla can't just tell Windows "I'm not here anymore, so find another program to handle html files".

      And don't even get me started on how hard it is for a browser to determine whether it's safe to open an untrusted file with its default application. Apparently the solution is to hard-code a long list of "dangerous" extensions from Microsoft's web site into your browser. At least Microsoft isn't trying very hard to establish a monopoly on secure web browsers...

      --
      The shareholder is always right.
    3. Re:Its not just MS . . . by ConceptJunkie · · Score: 5, Informative

      Yes, Microsoft has been bragging for years about they are making software easier and easier to use, but have failed completely to make certain tasks, like file extension association, among many others, not require a power user to understand, or an eidetic memory to remember where they hid the dialog box for all these features.

      For filename extensions, Microsoft's brilliant idea was to automatically hide the file extensions in Windows 95 and above by default, meaning you have to rely on the stupid icons to know what your file type is, and things like the SirCam virus can come along and fool people into thinking they are viewing a JPG when they are in fact launching an executable that will bombard me with 200 copies of their "Jun 2000 Sales Report" or something.

      Furthermore, until recently, you couldn't search or sort the filename extensions access through "Folder Options" by extension name. You had to know what they are called, or vgrep through a huge list of every file extension ever considered since DOS 1.0 (the list looks practically like .AAA, .AAB, .AAC, etc.) looking for your extension.

      A simple example: I want to reassociate ".BMP" back to the SpiffoPaint program after the BogoPaint trial version stole it away. Prior to Windows 2000, you _had to know_ what file type name the extension is regsitered as (and many weren't obvious). Again that could be any old dumb thing the software developers (like Bogosoft above) decided to call it like "BogoPaint Document" or whatever. If you didn't know that, then good luck finding it by hand, Chester.

      In the NT 4.0 days, I personally had to resort to using 4NT's file association feature (I think the NT Resource Kit had something too) because otherwise it was just too much trouble.

      And as far as editing the regsitry goes, remember that Microsoft's first plan was to not allow users to edit the registry at all?

      Given that I remember in the late 80's that I had to rewrite the installation batch files for most software I installed, the idea horrified me. Now in 2001, not being able to edit the regsitry still horrifies me.

      "Where do you want to go today, and how lost are you going to be before getting there?"

      --
      You are in a maze of twisty little passages, all alike.
    4. Re:Its not just MS . . . by dimator · · Score: 5, Funny

      Open COMMAND.COM with PSP?

      I'll save you the trouble: it's porn.

      --
      python -c "x='python -c %sx=%s; print x%%(chr(34),repr(x),chr(34))%s'; print x%(chr(34),repr(x),chr(34))"
  4. Monopoly for the illiterate... by neema · · Score: 5, Informative

    This "attempt" at a monopoly through file extensions is something that would only be successful for those who know nothing about the OS at all. Using Win2k as we speak, right clicking on any file and going to "Open with" seems easy enough. Better yet, it has a check box of "use this program to open up the file as default". Very easy. Of course, if no one bothers to look for it, I'm sure it can be considered hard.

    I agree that Microsoft does things specifically to retain a monopoly, but does everything it do have that purpose?

    I doubt it.

    1. Re:Monopoly for the illiterate... by wfrp01 · · Score: 5, Funny

      Exactly. I can see it now... In an effort to please each and every technophobe's desire to have their all-important feature be only one click away, Microsoft releases "Windows Flat". No menus. No directory trees. No dialogs. Instead, each and every pixel is assigned a function.

      Oh my god, I better go patent this...

      --

      --Lawrence Lessig for Congress!
    2. Re:Monopoly for the illiterate... by Jace+of+Fuse! · · Score: 3, Insightful

      So, only actual MS customers can criticise MS. In that case you are applying a filter that says only those who are satisfied with MS (satisfied enough to keep purchasing their OS'es) are allowed to comment.

      That's not what I meant! Not at all!

      I'm talking about people who use Windows on a daily basis and STILL don't understand the basic workings of it.

      True -- someone who does not use Windows is free to hate MICROSOFT all they want for many other reasons from ethical to technical.

      The people of which I speak love to rant on about certain things in Windows that (for the most part) simply aren't even true.

      For instance -- "HOW HARD" it supposedly is to change file associations when there is a simple method of doing it just by right clicking.

      --

      "Everything you know is wrong. (And stupid.)"

      Moderation Totals: Wrong=2, Stupid=3, Total=5.
  5. Come on by Nawak · · Score: 3, Informative

    Every program messes with file associations:

    RealPlayer, Winamp, Quicktime etc...

    What's the difference when it's MS programs?

    You can easily change the assocation by holding shift while right clicking on the file and choosing 'Open with'. You then check 'Always open with...' and there you go!

    Changing the icon is way harder and is a way more annoying thing in windows.

    --
    A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
  6. I agree by SirWhoopass · · Score: 3, Insightful
    I don't think it's all that difficult to change registered file types in Windows. It's not something that needs to be changed on a daily basis.

    Much more annoying is having every new application try and make itself the default for a million other filetypes.

  7. Re:CLI by Junks+Jerzey · · Score: 4, Funny

    We don't need no stinkin' file extensions!

    Really? You don't put ".c" at the end of C source files? Hmmm. I used those kind of extensions under UNIX ten years ago.

  8. This is silly... by BenCaxton · · Score: 5, Insightful

    This is just plain ridiculous... I'm not a big fan of Microsoft, but saying their anti-competitive because people would have to spend about 5 min learning how to change a setting, but because they're too stupid or lazy to do so microsoft should be forced to hold their hand while they do it?

    What next... Saying that its unfair to have microsoft.com be the default home page for a newly installed copy of ie just because some idiot might want to change it but doesn't want to take the time to figure out how...???

    This goes beyond a legitimate argument to just finding something to complain about because complaining about microsoft is the thing to do.

    --
    Ben
  9. Obscure, but not difficult... by Daniel+Rutter · · Score: 5, Interesting

    Scott Rosenberg, the author of the Salon piece, says Windows "makes you go on a mad hunt through menus and folders and options to find the dialogue box that lets you [change the app that opens a given file type]". Well, yes, it does, unless you shift-rightclick a file and use the "Open With..." option.

    This doesn't really weaken Rosenberg's argument, of course, because this is just one of the zillion and three Windows shortcut thingies that Joe Average doesn't know about. Joe's no more likely to use this than he is to fish his way through to the long-form File Types dialogue. But all of us windswept and interesting Slashdotters who choose/are forced to use Windows ought to know it :-).

    Dang it, I used to use an Amiga. Directory utilities on the Amiga just looked at the darn file header. Your IFF image could be called notapicture.txt and it'd still display JUST FINE. A 1Gb footprint for WinXP (which, I hasten to add, I _am_ going to install when next I upgrade my Tiny God), and it still can't do that?!

    Come to think of it, that'd be an anti-Sircam-ish sort of feature. "You have attempted to open a file whose extension is PIF, but which appears to be an ordinary executable. That's odd. Would you like to check this file against the new and wonderful Microsoft Proprietary Crushing All Opposition Virus Database to see if it's one of the many things that takes advantage of our monopoly almost as well as we do?"

  10. Re:Salon is now a pay site... by Alien54 · · Score: 4, Informative
    --
    "It is a greater offense to steal men's labor, than their clothes"
  11. Never Blame On Malice... by Carnage4Life · · Score: 5, Insightful
    ...what can adequately be blamed on stupidity. The Salon article goes on and on claiming that the fact that the menu options to change the default program that should be used to open a file with a given extension is buried deep in a bunch of menus is the indication of some sort of conspiracy theory. I assume the writer isn't used to using Microsoft products because if he was he'd realize that poorly placed yet important functionality is a staple of Microsoft software. Recently I've had problems like that with MSFT software such as:
    1. I've spent months trying to figure out how to turn of auto-indenting in numbered lists within Word 2000 with no success.
    2. Using typeid() and other RTTI features is disabled by default in Visual C++ 6.0 and requires finding a very hidden, nested menu to turn it on. This took hours to find.
    In general most of their products seem to lack a good Human Computer Interaction factor. But to go as far as calling bad design, some sort of attempt to keep a monopoly seems rather excessive to me, especially since it's fixed in Windows 2000 so that right-clicking on a file brings up the shortcut menu complete with an option that says "Open With..." where you can specify what program to open the file with and if you want the program permanently associated with that file extension.
  12. My gripe with extensions by Gruneun · · Score: 3, Insightful

    The arguement is really not an issue for most people. The people who know they can change a file extension asociation, will. The people who want a different program to open it, will learn. Last, the people who don't know, don't care.

    My greater gripe is programs that change extensions be required to display a "warning, proceed?" message during installation (much like a security grant for Java or ActiveX) if the extension is already associated with a different program. It burns me every time I install some software and it becomes my cd and mp3 player. Yes, I know how to change it, but it's still irritating.

    I never considered the extensions menu particularly difficult to find or use. Not everything can be in the Start menu.

    1. Re:My gripe with extensions by Fjord · · Score: 3, Insightful
      Not everything can be in the Start menu.


      I don't see what's wrong with putting this under Start|Settings. It is a setting, after all. Why do I have to start up Windows Explorer to change how Internet Explorer opens files?

      --
      -no broken link
  13. Windows annoyances by sting3r · · Score: 3, Insightful
    This is just a symptom of the generally uncooperative nature of Win32 applications. Windows software does not know how to share; how to place configuration information under HKEY_CURRENT_USER instead of HKEY_LOCAL_MACHINE; how not to leave necessary files in c:\windows; how not to mess up your Start menu, desktop, and registry upon installation. You think Freshmeat is full of amateurish, half-baked projects? Take a look around your local software store and you'll find the same exact thing.

    In short, Windows applications are a textbook example of competition at all costs. Spyware and "gator" controls install themselves, behind the scenes, and mess with every other application. Many applications install "quick start" programs in the system tray or as services, wasting your resources and time in the vain hope that you'll use their software more often. It's no-holds-barred capitalism. Applications fight with each other over eyeballs and control of your system, and you're left with a mostly-unstable computer that blares ads at you and has a dozen security holes.

    And that is why I run Linux. Because the coders who wrote my applications had respect for me, the user.

    -sting3r

  14. Why is this such a great concern? by Tim_F · · Score: 3, Insightful

    It's not really that big of a deal. If you want to use a different program, all you have to do is start that program, and open the file that you want to use. All Microsoft is doing here is making things easier for the end user. If you want to stop using Word to open .doc files, remove it, and install Corel Office.

    Other companies (as was pointed out in the article) have been doing this for years. Why is this suddenly such a big deal? Because the author needed to come up with a column. Pick something that wasn't a big deal, and turn it into one.

    Microsoft should not be painted with such a black brush simply for trying to make it easier to be a user of their software.

  15. Why do we not encode the company/product name? by deander2 · · Score: 4, Interesting


    Ugh. I'm sick of programs fighting each other for the user's attention. Who would buy a blender that detected other blenders in the house and tried to disable them? Should my Sony TV ask me every day if it should take over the remote control for my Magnavox? Why do we put up with this?

    We should have a file typing system that incorporates the creating company/software package into it, like how UPC symbols list COMPANY/PRODUCT_NO so both Jiffy and Food Lion can both sell peanut butter and the register knows the difference. That way Joe Shmoe can double-click on his RealMP3 and it won't open in WMP.

  16. Re:This is silly... No its most definitely not by bstadil · · Score: 3, Insightful

    No this is not silly. Last night I had to spend 10 min explaining to an intelligent lawyer friend why suddenly sh could no longer paly CD using WinAmp. The Realplayer had registered it self for that as she hed used it to watch a Realplayer News clip on CNN. Maybe the program warns you but few reads it as they are requesting the clip. One solution would be if you could block all file registration during install and then activate inside the application you are using.

    --
    Help fight continental drift.
  17. Blaming Microsoft for "users' ignorance"? by corky6921 · · Score: 3, Interesting
    From Salon: "The power of "default" settings lies in users' ignorance and inertia. There are millions of Windows users who barely know what "right-clicking" is.

    The remedy Salon suggests? "It would probably take one of Microsoft's developers a short afternoon to build a simple, forthrightly labeled control panel that sits right on every user's desktop and asks, in plain English, 'Which program would you like to open Web pages? Or text files? Or MP3 audio files? Or photo files?'"

    So these users, who the author seems to think are too stupid to know what right-clicking is, now have to know the difference between a text file (*.txt) and a Word file (*.doc) and which program goes with which extension (no, wait, which program they want to use to open which file types!)

    Microsoft isn't even the real perpetrator of these things. It's companies like Real, which have programs like RealDownload (click here and here for examples) that really go overboard with the registered file types thing. RealDownload attaches itself to your web browser in such a way that the only way to stop it from popping up every time you try to download a file is to uninstall it. It also comes preinstalled on a bunch of OEM computers, so people are afraid to uninstall it. That's just one example...

    There are lots of horrible pieces of software in the Windows world: spyware like the stuff that comes with BearShare and Morpheus, the Real "suite" of products that tries to take over your computer; AOL, which tries to eat your TCP/IP stack for lunch and replace it with its own TCP/IP stack. Instead of focusing on how Microsoft is horrible because it HAS registered file types, let's focus on programs (Microsoft ones included) that abuse their privilege and try to force you to use them for everything under the sun.

    Finally, please continue to educate our user base, instead of just assuming they are "ignorant" and unable to take control of "where they want to go today" (and what program they want to use to do that.)

  18. And he thinks Macs are better at this????? by MadCow42 · · Score: 3, Insightful

    Has he ever tried to change the file association on a Macintosh file? He mentions how "easy and convenient" it is on a Mac...

    On a Mac, without special 3rd-party hack programs (like ResEdit or Snitch), it CANNOT BE DONE AT ALL! Talk about monopoly power!

    Man... if he can't handle right-clicking on a file, and selecting his own alternative with the provided "Open With" dialog (recent OS's), then he shouldn't be running a computer at all!

    MadCow.

    --
    I used to have a sig, but I set it free and it never came back.
    1. Re:And he thinks Macs are better at this????? by ReelOddeeo · · Score: 5, Insightful

      On a Mac, without special 3rd-party hack programs (like ResEdit or Snitch), it CANNOT BE DONE AT ALL

      Incorrect. Open desired application. From within application, File menu, Open, open the desired file. Now without making any changes to the file, re-save it in the same place with same filename.

      Now the file's icon changes to that of the desired application. It now is "associated" with the new app.

      This wasn't the most efficient approach, but it was the most obvious. The Mac often wastes computer resources and keystrokes at the expense of saving "brain-strokes". Although, often, if you look deeper, there are numerous shortcuts to do the same thing more efficiently.

      --

      Those who would give up liberty in exchange for security and DRM should switch to Microsoft Palladium!
    2. Re:And he thinks Macs are better at this????? by Have+Blue · · Score: 5, Informative

      A more technical explanation:

      The Mac's file system stores 2 equivalents to the file extension for each file, the type and creator codes. The type code indicates what type of file it is, the creator code indicates the application that created it. The key concept here is that on a Mac, those 2 bits of metadata are orthogonal, and with a simple file extension they cannot be without some serious filesystem hacking, which MS hasn't bothered to do.

      Also worth noting that Mac OS X has most of the features this guy requests; you can remap a file's ownership from the Get Info window, and make your change global from the same location.

    3. Re:And he thinks Macs are better at this????? by flegged · · Score: 5, Insightful

      This, more than the evangelism that goes with the religion, is why I hate Macs.

      I was first introduced to this when I tried to open an .html file. But the machine was having none of that. It thought it knew better. "No, no", it seemed to say, "you don't want to be opening that, you don't know where it's been".

      "Could not open the file because the application that created it wasn't found" (Right before a "Sorry a system error occurred. Error type 7. Restart" - patronising twat of a machine!)

      An HTML file for fucks sake! Plain text with markup! Opens in IE, Mozilla or Simpletext. Just open the fucking file!

      "Sorry, Dave. I can't let you do that, Dave."

      It had a file extension. It was UTF-8. It was a plain and simple bastarding HTML file. And the Mac sat smugly. And refused to open it.

      In the end I had to copy it across to a Windows machine and back.

      And this guy at Salon thinks that's easier?

      In Windows, whenever an app steals a file extension (which only happens during installation, not whenever I open a file), I take it right back, maybe leaving it in as an option on the context menu. I have Notepad on the SendTo menu, so I can always open anything as if were text. I can make .java and .class (and even .rpm - with a cute ickle picture of tux) files look purty by drawing my own icons.

      Can I do any such thing on a Mac? No. I'm stuck with the icon whichever app chose for it. If I save an HTML file from dreamweaver, I can't view it in IE without dragging it into an IE window. If I save it from fireworks, it has a different icon again. Very soon it gets impossible to tell the difference between files. A .css can have the same icon as a .php3, but another .css could have the same icon as a .png.

      And that's less confusing?

      People are so blinded by Jobs-worship that they forget to realise that someone else is doing The Right Thing. A file type is as distinct from it's creator as it could possibly be. OSX is better, though. Guess what - it uses file extensions when the resource fork is missing. And it lets you change the app a particular file type opened with, relatively easy. But there can only be one app which opens a particular file type. Which is the Wrong Thing.

      File types are not a Windows idea. They date from the pre-unix days. It makes it easy to tell what a file is by looking at it's name - handy on a teletype, or even by ftp. It also makes it easy to change a files meaning without changing its content (eg txt to html). It separates the content of a file from the application used to create it.

      Another poster noted that you can drag a file onto any applications icon in Mac OS. So? That's not new. Windows does it, and so does KDE (I think - can't check right now).

      Registered file types are not a means of Microsoft brainwashing. They are simply the best way to handle file typing (I know that sounds weird). mime-types are fine, until a file has unrecognised type, and is not so easy to change. File type and creator metadata is just plain wrong.

      Remember: just because you don't have a clue, doesn't mean Bill Gates is out to brainwash you (hey, that rhymes...).

      --

      "I think he was truly surprised at how little I cared about how big a market the Mac had" - Linus on Jobs
    4. Re:And he thinks Macs are better at this????? by Jeremy+Erwin · · Score: 3, Informative

      I believe that this can be done with Applescript:

      --script to convert files to Maple 5 Notebook
      on open(theList)
      tell application "Finder"
      repeat with theItem in theList
      set creator type of theItem to "REL5"
      set file type of theItem to "MVNB"
      end repeat
      end tell
      end open

      Not exactly simple, but it can be done with a Apple provided program. (And it is faster than ResEdit).

      I am sure that in the coming years, Microsoft is likely to provide a online, for-fee, version of Office. It could be problematic if instead of launching StarOffice, double clicking on a spreadsheet file would preferentially launch the network Excel application...

      Apple has, to my knowledge, no such plans...

  19. Full circle, trust me... by Gruneun · · Score: 3, Insightful

    While I agree with most of your arguement, the vast majority of irritating software is designed for Windows because that's what 90% of their target audience is running. I like and use Linux, too, but frankly it's not as popular and widespread as Windows.

    Give it time. When Linux becomes mainstream, the same programmers that made crappy Windows software will begin to make crappy Linux software. Some of it will disturb/disable other programs, take up resources, and open security holes.

  20. Re:Errr... by GTRacer · · Score: 4, Informative
    On the whole, I agree with your point. But what the /. community is forgetting is the key difference between people whose lives are pervaded by computing, and people with computers pervading *our* lives.

    My mom is a competent user. But never in a lifetime would she know how to reassociate a file type. She has a crutch in that she can call me and I can either talk her through her problems or go visit her.

    I'm continually stunned by the "expected level" of expertise the industry assumes (or fails to live up to). Case in point: the millions of new DSL users with cheap PC's and 24/7 access. My best friend has had me over twice now to fix his machine from malicious ad/spyware stuffed in his registry.

    Just how are people supposed to know this stuff? Where are they supposed to learn it?

    I'm no friend of the Empire, but they do have a track record of obfuscation. Even if the answer (in 95/98) is a simple right-click, that's a skill that I bet a high percentage of users don't have or understand: "Right-click on this icon, please" [left-click] "OK, I clicked right on top of it. Now what?"

    Microsoft has slowly been coming around to the idea of security throughout key configs. Why not take the "A script is accessing..." IE pop-ups and extend them to anything that touches non-app keys in the reg? And, as previously suggested, an audit app that can clearly show you what's associated where, what runs on startup for whom, and validates key DLL versions?

    GTRacer
    - When Konqueror is as good as IE 5.5...

    --
    Defending IP by destroying access to it? That makes sense, RIAA/MPAA. Go to the corner until you can play nice!
  21. Better idea. by Xibby · · Score: 3, Interesting

    The article does have some good points, IMO. But why not take it a step further. MS has the Windows Stamp of approval that goes to software as long as the software follows certin guidlines. By following these guidlines, developers know that their software will run on the Windows platform and the users know before buying the product. (This is very important with Win NT and 2000 actually.)

    Anyway, perhaps one of these guidlines should be that the installer registers what file types it is capible of handling. This is different from registering it as the default viewer.

    Then, all MS would have to do is create, say, a control panel applet for the file types. Shouldn't be too hard. It would present you with a file type (sorted into say, images, video, audio, documents, etc...) and what applications are able to handle that file type. Then you just select the program you want from the list that support it, instead of having to remember what program views what.

    Go a bit firther and require installers to prompt before changing and you should be set.

    This would be an improvment to the current setup, and I can't imagine that the talented Windows developers (they have to have some talent, the OS does run rather decently...) could do with the next service pack.

    --
    I'm going to go back in my box and will think within the limits of my box: MS Sucks Linux Good I read too much Slashdot.
  22. Re:Question about "Open With" by Curien · · Score: 3, Informative

    I don't always see the Open With option. But even when it works, it lists *all* applications, not just those relavant to the file extension or type.
    A better solution would be to associate *multiple* applications to a given extension, and then have it list that set upon Open With (with the option of adding to the set from the entire pool of applications.)


    I don't know about WinME (but I assume it's true there as well), this is a feature of Win2K. First, there's an "Open With" option on the context menu *without having to click shift*. Second, the option is actually a secondary menu that lists *all* of the programs that were *ever* used to open files of that type with the "Open With" option.

    I use this feature frequently. I have my MP3 playlist loaded in Winamp, and if I want to check out a song I just downloaded, I right click->Open With->Media Player, so my playlist remains intact. Or I can choose whether I want to open JPEGs in PaintShop, ACDSee, IE, or whatever.

    This takes exactly the same number of mouse clicks and marginally more time than double-clicking.

    --
    It's always a long day... 86400 doesn't fit into a short.
  23. This article is misinformed and dangerous. by geomcbay · · Score: 5, Interesting

    I just mailed a letter to the editor of Salon about this article before it popped up on Slashdot. I believe it is dangerous because this whole thing is really a non-issue. File-type mapping is a convience, not a curse, and the article is very misleading about how hard it is to change these mappings...

    Below is the text of my letter:

    ---

    I think Scott Rosenberg is way off the mark in his article regarding 'registered file types' for Microsoft Windows. In reality, it is not as hard to change these file mappings as he portrays.

    To begin with, the user would very rarely want to change one of these file type mappings; it is the sort of action you tend to perform once and then leave alone. As it is such a rare event, it makes sense for it to be somewhere deeper within the UI than an action that you would want to perform very often. There's only so much space within the UI for quickly accessible items, and they should always be items that are used regularly by a majority of users.

    Further, it is a lot easier to change these file-types than he portrays even if you want to change them. Since Windows 98, at least (I don't remember far enough back to know if Win95 supported this), you can right-click a particular file, choose "Open With.../Choose Program" and an easy-to-use dialog pops up which allows you to pick which program to use to open that file-type and even change the file mapping for that file type by choosing 'Always use this program to open these files'. Making this change is not exactly rocket science.

    And lastly, while it is true that the process above may not be completely intuitive for new computer users, virtually every application released in the past five years will check the Windows registry to determine file mappings when it is launched and offer the user the option to change these mappings so that the program just launched will become the default for the file-types it supports. When this occurs, it is generally via a simple dialog box popped up when the application is launched, it is hard to argue that this interface is too difficult for users. One of Scott's own examples, RealPlayer, is adamant about informing users of file-type mappings at startup, and offering the choice to remap files to RealPlayer (using a simple Yes/No dialog), ditto for Netscape (and IE), and countless other applications.

    I believe Microsoft has many questionable business practices, but file-type mapping is not one of them, and highlighting such a non-issue just detracts from the real problems via crying-wolf-syndrome.

  24. The other 90% by gad_zuki! · · Score: 5, Insightful

    Shift right click, or right click in 2k its quite simple. The standard complaint that users don't know what they're doing thus MS is even more evil because it doesn't pay for a class or whatever is groundless. When someone needs to change the file extension they call their PC-smart buddies or asking on a web board or newsgroup.

    This would be monopolistic if MS disabled this fuction, but instead this article is perfect for the mindless MS bashing that makes slashdot look so prejudiced. There are real MS complaints and this isn't one of them.

    Maybe I'll get a job at salon. "Hi I'm the Slashdot baiter and I'm thinking of writing something inflammatory about the two button mouse. Think about it dudes, Mac has one button. MS is trying to confuse people for their own ends!"

  25. Nitpick point. by DunbarTheInept · · Score: 5, Informative
    In unix they aren't file extensions. They are suffixes. The difference is that in DOS/FAT they got stored in an actual seperate field in the directory. (I don't know if NTFS also does this. I stopped paying attention to MS technical details a while ago). In Unix, they are just ordinary parts of the filename, and don't mean anything special unless a particular program is written to parse the filename for "stuff coming after the last period".

    An analogy:
    /*Unix*/
    char fname[PATH_MAX]; strcpy( fname, "foo.c" );

    /*original FAT/DOS*/
    char fname[9]; strcpy( fname, "foo" );
    char exten[4]; strcpy( exten, ".c" );

    --

    Don't label something "offtopic" unless you know the topic well enough to tell what's on topic.

  26. The more insidious problems by Lumpish+Scholar · · Score: 4, Interesting

    Rosenberg claims it's hard to change registered file types, then explains how to do it in twenty one words. Like many of you, I'm not all that impressed. (Some Windows programs, such as the wonderful IrfanView, offer to grab or give up the registered file type for various types, at installation or whenever.)

    The real problem is, not all interesting associations can be set via Windows Explorer. Programs can tell Windows, "I want to open up a Web page" or "I want to start sending an e-mail message"; what programs do they use?

    Setting "the default browser" is more than just setting the .HTM association! If you've told all your browsers to fight over the default like a pack of starving pit bulls, they'll offer to change it back and forth all too often. Otherwise, you can edit a dozen or so obscure registry entries. There's a commercial (but cheap) utility, BrowserSwitch, that doesn't do anything but this.

    How do you change the default mail program? I honestly have no idea. Heaven help someone with both Outlook and Eudora installed, who would prefer to use the latter.

    Various movie formats can be handled by Windows Media Player, and RealPlayer, and QuickTime. Assuming Microsoft hasn't banned the latter two, how can you tell your browser which one you want?

    Any solution would need to be at least partially technical. It's not clear how much of a legal solution is necessary; I'd like to hear arguments on both sides.

    I agree with Rosenberg in one way: Windows users would be better off if they could make such choices more easily.

    --
    Stupid job ads, weird spam, occasional insight at
  27. The better solution... by stefen50 · · Score: 3, Insightful
    is for applications to have an option to re-claim stolen file associations. WinAmp, to name an example, already has this feature. The answer is smarter applications, which save the users this work.

    Smarter users would be even better, but we know that's not going to happen any time soon, don't we? :)

  28. Re:Give me a break. by jiheison · · Score: 5, Insightful

    a right-click should not be considered the primary way to get at a function

    And why not? It is right there next to the Left mouse button. Why is it a less valid as a primary way to get at a function? It is only bad GUI design if you can't wrap your brain around more than one button. I suggest you unplug your keyboard and stay away from any mouse with a wheel on it.

  29. How about this then... by Danse · · Score: 3, Interesting

    Make the "Open" option into an expandable menu instead of a single option. List all the programs that are registered to handle that file type in the menu and let the user select the one he wants. You could still select one app as a default for when you double-click on a file, but this way users could select a specific program a lot easier.

    --
    It's not enough to bash in heads, you've got to bash in minds. - Captain Hammer
    1. Re:How about this then... by powerlord · · Score: 3, Interesting

      You are also dependent on the applications registering the types with the same name.

      I think what he's suggesting is instead of a two dimentional table (extension/program to handle it), you end up with each entry for an 'extension' containing a list of all the programs that register their ability to handle that extention type.
      If 42 programs want to register their ability to handle GIFs, fine, you have 42 entries.

      You can still mark down a "Default" program that is activated when you double click on an Icon, but by keeping all the other info you can:

      1) Browse what programs are assigned what extensions, and which ones they want but are not the default, or even create a utility to go through the catalogue and make a particular programs settings the default (again, preserving the current defaults as alternatives).

      2) Preserve alternative choices in case the default application is un-installed.

      3) Turn the current windows "Open" option when you right click on an Icon into a expanding menubox (ala the "Program" menu) listing all the currently registered options.

      Okay. I wish I could take credit for this, but the poster above did. I think this would be a really good idea for a desktop to do. Lets beat Windows to the punch and get this into Gnome and KDE :)

      --
      This space for rent. All reasonable inquiries will be entertained at proprietors discretion.
  30. How I fixed it by Malc · · Score: 3, Informative
    REGEDIT4

    [HKEY_CLASSES_ROOT\*\shell\Open in Emacs\Command]
    @="\"C:\\Program Files\\Emacs\\gnuserv\\gnuclientw.exe\" \"%1\""


    Now everything opens in Emacs, or if it doesn't, I have an "Open in Emacs" option on the right-click context menu in Explorer ;)
  31. Drag 'n' Drop? by ktakki · · Score: 5, Interesting

    Doesn't anyone drag and drop anymore? Wasn't DnD the big advantage to using a GUI?

    On both my Macs and my Windows computers, I use DnD to override default file associations. Drag the .html file on to the text editor icon: it's open for editing. Double-click and it's opened by the default browser. Want to see it in an alternate browser? Drag it over to that icon. Drag it over to the printer icon for a hard copy.

    Lately, I've been using DnD to extract strings from all of the Sircam-infected Word documents that show up in my mail by dragging the attachment link embedded in the mail message on to the TextEdit icon in the OS X Dock (not that SecretPlans.doc.pif would execute anyway if I clicked on it).

    Why bother with the overhead of having a GUI if you're not going to use all the features?

    k.

    --
    "In spite of everything, I still believe that people are really good at heart." - Anne Frank
  32. Put it in the setup of the new app... by saider · · Score: 3, Interesting

    1) When a new app is installed, just put a dialog box that allows the user to associate the extensions with the new program.

    2) Also, put this code in the program itself, accessable from the menu.

    3) Put an article in the help file about how to do it manually. There are ways to easily re-register an application. The article makes it sound so difficult (it's not).

    How do you change the application on the Mac? Why not provide a GPL'ed program to do this task for grandma, and publicize the hell out of it?

    This sounds like nitpicking to me.

    --


    Remember, You are unique...just like everyone else.
  33. Re:Windows 3.1 by Hnice · · Score: 3

    true, but the article only asserts that MS has gone out of its way to make things more difficult, which they clearly have. it was a simple task, clearly available in winfile in win 3.1, and now it's hidden -- shift right click, try telling my mom to remember that one -- and that's either because MS wanted it that way, or because people wanted the task to be harder. since the 2d seems unlikely, i think we can chalk it up to the first.

    don't underestimate the effect of simple adjustments in usability -- it's sort of the heart of the accusations of bundling -- sure, you can use netscape, or aol, but the icon for msn is right there on the desktop. these things have a subtle effect, and besides, how many oem installations of windows even come with the documentation you reference?

    --

    god is just pretend.

  34. The article is just braindead. by Chasing+Amy · · Score: 4, Interesting

    "Registered file types" are there because Windows was designed for non-techie users. It's not part of The Grand Conspiracy, since file typing is still done in Windows XP the same way it was done in Windows 95, and the way to change registered file types is still the same too. I'f they'd made it harder, I coyuld go for the argument. But they didn't--they kept it the same.

    Registered file types were just a typical Microsoft hack designed to get the system to do essentially what Macs did, but without all the coding overhead and file/creator nonsense. Personally, I'm glad they cheaped out instead of doing file/creator typing, because I like to be able to change a file extension merely by clicking on the filename and changing 3 letters (after setting the newer versions of Windows to show the file extensions, of course--hiding them was another hack to be more like Mac, but a stupid one).

    And the average user will never have to change what kind of program opens a certain type of file, manually. See, when you install new software on a Windows box, the new software almost always asks the user whether he wants documents with such and such extensions to open in this new application. Yes is the default and that's almost always what the user selects. No manual changes necessary. It's only computer literate people who should be tinkering around with registered file extensions anyway--because illiterate yahoos can "accidentally" make it so that double-clicking things does nothing, or opens a file in the wrong application. That's why Microsoft put the feature where it did instead of into a separate control panel, where "average" users would no doubt fsck themselves up.

    Is MS evil and a predatory monopoly? Yes. Is their handling of registered file types part of their bid to rule the world? No. It's set up just like it should be--literate users know where it is, and average yokels can't ruin their systems by messing with something they shouldn't touch, and installing new apps to handle that file type will give the user the chance to change to opeining files of those types with that program. Or should we put a big shiny button in the control panel that performs a full fdisk just because that functionality is hard to find for the average bloke? No? Didn't think so. The writer of the Salon article is just blowing smoke up our collective arses at best, and at worst is a blundering moron. Nothing personal, of course... ;-)

    --

    Chasing Amy
    (We all chase Amy...)
    "The more corrupt the state, the more numerous the laws"-Tacitus
  35. Re:*NIX needs .vbs by Tassach · · Score: 3, Insightful
    Yeah, perl is portable. But, it's not going to be a very good virus vector for Linux.


    Why, you ask? Because the Outlook viruses rely on it's behavior of launching, without any additional confirmation, any executable attachment. This is compounded by the problem that Office documents can be "executable" in that they contain hostile macros and viruses. Since Outlook comes with the whole Office suite, a virus writer knows that there will be a standard address book in a known location, among other things.


    Linux, on the other hand, doesn't have a single standard for email or office productivity. An email virus targeted for a Netscape vulnerability wouldn't affect people who use kmail or StarOffice as their mail reader. There's no universal address book to exploit, and there isn't the tight integration between the mail program and other applications.

    --
    Why is it that the proponents of "one nation under God" are so eager to get rid of "liberty and justice for all"?
  36. My letter to the author of this article: by ColGraff · · Score: 4, Interesting

    If I may ask: In a postscript to your article "The Devil is in Windows' Details", you point out that it is irrelevant that the program used to open a given format can be changed by right-clicking on a file of that type, because there are many users who don't even know what right-clicking is.

    That's certainly true, but at the risk of sounding like an elitist, why should we (the computer-literate people) care? It is really not that hard to learn about the "hidden" features in windows, through one's own experience or research on the Internet, or even in the Dummies books. I agree that the concept of hidden features is anti-competitive, but why should we lose any sleep over people who are, for whatever reason, unable to learn enough to make windows do what they wish? Isn't it best for them that they aren't faced with choices that could tax their limited understanding of technology beyond the breaking point? You and I, sir, and the legions of other competant users, will use whatever software and operating systems we like, no matter what Microsoft does. It just seems to me that people who are being hurt the most by "hidden" features are those who shouldn't really be playing with them anyway, because they have no idea what they are doing.

    I know that sounds - well, assinine, to put it mildly - but I'd like to cite an example from my work. I am a part-time computer tech at my high school, and one of my duties (and hobbies, when I am not on the clock) is to assist teachers when they have technical problems. About half the calls I get that don't boil down to "You didn't plug in the power cord" are related to incidents where teachers install some new word processor/media player/whatever that a friend (or email spam that sounded "friendly") recommended. All of a sudden, "My Microsoft looks different!" they cry, and they are hopelessly confused.

    Most users really do benefit from using an OS that limits what they can do, because most users lack the initiative to learn how to use a less constricting system. Being held by the hand allows computer illiterates to do, for the most part, what they want to do (word processing/games/web browsing). For those who are capable of a greater degree of computer literacy, the modern versions of windows are simply not appropriate - they are not targeted at us. For computer-literate users to complain Windows over-limits the user is like a racing bycyclist to complain that training wheels greatly limit his/her speed - it's true, but what the heck is he doing with training wheels?

    BeOS and Linux are both more powerful, inexpensive operating systems without the penchant Windows has for assisting Microsoft megalomania. I would assert that a user who feels constrained by windows should simply switch - and if he/she has documents or other files Linux or Beos can't run, to complain is inappropriate - find or start a project that is working on what you need, and help it however you can. Don't just sit there.

    --
    I'm the stranger...posting to /.
  37. Really simple/easy/obvious 17+ year old solution by Herbmaster · · Score: 3, Insightful
    • Make all applications keep a list of types of files that they can open, as well as a unique identifier associated with things they "want" to open.
    • Make all files keep a type code and a seperate code associated with what application it "wants" to be opened by, a creator code if you will.
      • Don't pollute this information in the namespace of the filename, where it does not belong and can be changed for the wrong reasons (there are plenty of valid reasons to give a filename a suffix, none of which have anything to do with this file metadata).
      • Don't even allow this data to be stored in a centralized registry where it could be molested by programs automatically without a user's intent.
      • For both the applicaton's lists and the file's codes, the operating system can read and manipulate these codes, because it is stored in a standard, easily located, structure.
    • Files are automatically opened by the program that matches their "creator" code, but can be opened by anything that matches their type code.
    • Applications can open any files that match their type codes.
    • Files, which are always created by applications, are given type codes to match their content, and creator codes to match the application.
    • There could be 1st party solutions to map files without useful metadata by user-specified preferences to native metadata by outside standards which are weaker (MIME types, file extensions).
    • There could be 3rd party solutions to forcably remap files to applications other than the one which they want to be opened by, even if the wanted one is available. I'm talking about both on a per-file basis and a universal setting independent of files which may not even exist yet.
    --
    I'm not a smorgasbord.
  38. So Somebody Should Write This Program by namespan · · Score: 3, Interesting

    Our friend keeps saying there needs to be a way to let YOU decide
    what gets opened with what by default. A program that will let you
    map a file type to whatever application you wish.

    So someone should write this program. Make it freely downloadable.
    License it freely to third party software developers who realize this
    is one of the best things they can include with their program to insure they aren't steamrollered by Windows. Heck, write your own version of Code Red that installs this program on every machine it encounters. Or release a report that tells IT departments how much they can save in terms of time or TCO if they'll just deploy this in their organization (see, there's default installs, and there's default installs).

    Sometimes I've wondered if it would be possible to seriously combat how microsoft does their dirty work by setting up a website to the effect of "http://www.betterthandefaultinstall.com". Tips, tools, and free software for the user who wants to get the most out of their computer! This app could go on it....

    --
    Libertarianism is rich wolves and poor sheep playing gambler's ruin for dinner.