Re: How to stop the latest Mathematica hijacking the .nb extension in
- To: mathgroup at smc.vnet.net
- Subject: [mg95278] Re: [mg95266] How to stop the latest Mathematica hijacking the .nb extension in
- From: John Fultz <jfultz at wolfram.com>
- Date: Wed, 14 Jan 2009 05:52:20 -0500 (EST)
- Reply-to: jfultz at wolfram.com
On Tue, 13 Jan 2009 07:03:49 -0500 (EST), Antti Penttil=E4 at smc.vnet.net wrote: > Hi, > > Has anyone had a similar problem: The latest (V7 in this case) > Mathematica installation seems to hijack the file association to .nb > files to itself. This is usually what the user wants, but in some cases > (if the latest version has severe bugs etc.) it would be nice to open > the notebooks with previous version (in V6 in this case) when > double-clicking in Explorer. > > Usually one could just edit or remove the file association in > Tools->Folder Options->File Types with Windows Explorer, but Mathematica > seems to use some trick that always opens with the latest, even if you > try to change the association. > > Has anybody found a workaround to this? The problem seems to exists at > least with XP and Vista. > > Cheers, > Antti When you set the file association to a particular Mathematica binary, add the command-line option -directlaunch as the first argument to the binary. This will disable the mechanism which launches the best available version of Mathematica. Sincerely, John Fultz jfultz at wolfram.com User Interface Group Wolfram Research, Inc.