source: gsas/win/dist/makeregistry.bat @ 974

Last change on this file since 974 was 974, checked in by toby, 11 years ago

batch file to make registry associations

File size: 1.2 KB
Line 
1REM This file creates registry entries for GSAS & EXPGUI
2
3REM Get this script's directory
4set gsasloc=%~dp0
5
6reg add HKLM\Software\Classes\.exp /ve /d EXPfile /f
7reg add HKLM\Software\Classes\EXPfile /v "GSAS experiment file" /d "GSAS Experiment File" /f
8reg add HKLM\Software\Classes\EXPfile\DefaultIcon /ve /d %gsasloc%\gsas.ico,0 /f
9reg add HKLM\Software\Classes\EXPfile\Shell\EXPEDT\command /ve /d "%gsasloc%\exe\expedt.exe %%1" /f
10reg add HKLM\Software\Classes\EXPfile\Shell\EXPGUI\command /ve /d "%gsasloc%\exe\ncnrpack.exe %gsasloc%\expgui\expgui ""%%1""" /f
11reg add HKLM\Software\Classes\EXPfile\Shell\GENLES\command /ve /d "%gsasloc%\exe\genles.exe %%1" /f
12reg add HKLM\Software\Classes\EXPfile\Shell\PC-GSAS\command /ve /d "%gsasloc%\exe\PC-GSAS.exe %%1" /f
13reg add HKLM\Software\Classes\EXPfile\Shell\POWPLOT\command /ve /d "%gsasloc%\exe\powplot.exe %%1" /f
14reg add HKLM\Software\Classes\EXPfile\Shell\POWPREF\command /ve /d "%gsasloc%\exe\powpref.exe %%1" /f
15
16REM The following command can be edited to select the default command when a .EXP file is double clicked
17REM Choices are EXPGUI, EXPEDT, GENLES, PS-GSAS, POWPREF or POWPLOT
18reg add HKLM\Software\Classes\EXPfile\Shell /ve /d EXPGUI /f
Note: See TracBrowser for help on using the repository browser.