Changeset 979
- Timestamp:
- Apr 14, 2010 3:37:25 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsas/win/dist/makeregistry.bat
r974 r979 1 REM This file creates registry entries for GSAS & EXPGUI 1 @echo ======================================================= 2 @echo This file creates registry entries for GSAS and EXPGUI 3 @echo = Run this from the directory where GSAS is installed = 4 @echo ======================================================= 2 5 3 REM Get this script's directory 4 set gsasloc=%~dp0 6 REM Get this script's directory; make sure that the path ends 7 REM with a single backslash 8 set gsasloc=%~dp0\* 9 set gsasloc=%gsasloc:\\*=\*% 10 set gsasloc=%gsasloc:\*=\% 5 11 6 12 reg add HKLM\Software\Classes\.exp /ve /d EXPfile /f 7 13 reg add HKLM\Software\Classes\EXPfile /v "GSAS experiment file" /d "GSAS Experiment File" /f 8 reg add HKLM\Software\Classes\EXPfile\DefaultIcon /ve /d %gsasloc% \gsas.ico,0 /f9 reg add HKLM\Software\Classes\EXPfile\Shell\EXPEDT\command /ve /d "%gsasloc% \exe\expedt.exe %%1" /f10 reg add HKLM\Software\Classes\EXPfile\Shell\EXPGUI\command /ve /d "%gsasloc% \exe\ncnrpack.exe %gsasloc%\expgui\expgui ""%%1""" /f11 reg add HKLM\Software\Classes\EXPfile\Shell\GENLES\command /ve /d "%gsasloc% \exe\genles.exe %%1" /f12 reg add HKLM\Software\Classes\EXPfile\Shell\PC-GSAS\command /ve /d "%gsasloc% \exe\PC-GSAS.exe %%1" /f13 reg add HKLM\Software\Classes\EXPfile\Shell\POWPLOT\command /ve /d "%gsasloc% \exe\powplot.exe %%1" /f14 reg add HKLM\Software\Classes\EXPfile\Shell\POWPREF\command /ve /d "%gsasloc% \exe\powpref.exe %%1" /f14 reg add HKLM\Software\Classes\EXPfile\DefaultIcon /ve /d %gsasloc%gsas.ico,0 /f 15 reg add HKLM\Software\Classes\EXPfile\Shell\EXPEDT\command /ve /d "%gsasloc%exe\expedt.exe %%1" /f 16 reg add HKLM\Software\Classes\EXPfile\Shell\EXPGUI\command /ve /d "%gsasloc%exe\ncnrpack.exe %gsasloc%expgui\expgui ""%%1""" /f 17 reg add HKLM\Software\Classes\EXPfile\Shell\GENLES\command /ve /d "%gsasloc%exe\genles.exe %%1" /f 18 reg add HKLM\Software\Classes\EXPfile\Shell\PC-GSAS\command /ve /d "%gsasloc%exe\PC-GSAS.exe %%1" /f 19 reg add HKLM\Software\Classes\EXPfile\Shell\POWPLOT\command /ve /d "%gsasloc%exe\powplot.exe %%1" /f 20 reg add HKLM\Software\Classes\EXPfile\Shell\POWPREF\command /ve /d "%gsasloc%exe\powpref.exe %%1" /f 15 21 16 22 REM The following command can be edited to select the default command when a .EXP file is double clicked 17 23 REM Choices are EXPGUI, EXPEDT, GENLES, PS-GSAS, POWPREF or POWPLOT 18 24 reg add HKLM\Software\Classes\EXPfile\Shell /ve /d EXPGUI /f 25 26 pause
Note: See TracChangeset
for help on using the changeset viewer.