source: install/g2pkg/src/install.bat @ 2345

Last change on this file since 2345 was 2315, checked in by toby, 7 years ago

seems to work, but problem in updating install.bat

File size: 385 bytes
Line 
1REM Generate PREFIX from current directory location 6/10/15
2for %%i in ("%~dp0..") do set "PREFIX=%%~fi"
3REM now that we have the PREFIX create the G2 directory and launch the installer
4mkdir "%PREFIX%\GSASII"
5copy "%PREFIX%\Scripts\gsas2-install.py" "%PREFIX%\GSASII\bootstrap.py"
6set "python=%PREFIX%\python.exe"
7set "script=%PREFIX%\GSASII\bootstrap.py"
8"%python%" "%script%"
9pause
Note: See TracBrowser for help on using the repository browser.