I have version 9 and 10 installed on Windows 7. if I double click to open version 9 notebook, then it opens in version 10, how I can force a notebook to open in its respective front end.
I have installed both versions: with different init: link
I have version 9 and 10 installed on Windows 7. if I double click to open version 9 notebook, then it opens in version 10, how I can force a notebook to open in its respective front end.
I have installed both versions: with different init: link
My answer applies only to Windows.
Since the files have the same extension you will not be able to do this automatically without some kind of shell extension for that purpose. However you can edit the context menu to add commands as needed.
Run regedit.exe
and navigate to:
HKEY_CLASSES_ROOT\.nb
Note the value for (Default)
, e.g.:
M-WIN-L.NB.10.0.0.5099521
Using that value navigate to the matching path, e.g.:
HKEY_CLASSES_ROOT\M-WIN-L.NB.10.0.0.5099521\shell
Note the structure of the open
Key and mimic it for the command you wish to add.
For example you might create the following tree (in RegEdit Export format):
[HKEY_CLASSES_ROOT\M-WIN-L.NB.10.0.0.5099521\shell\open2] @="&Open with v9" [HKEY_CLASSES_ROOT\M-WIN-L.NB.10.0.0.5099521\shell\open2\command] @="\"C:\\Program Files\\Wolfram Research\\Mathematica\\9.0\\Mathematica.exe\" \"%1\""