REM @echo off curl -o %UserProfile%\Downloads\python-3.13.3-amd64.exe https://www.python.org/ftp/python/3.13.3/python-3.13.3-amd64.exe echo Download success %UserProfile%\Downloads\python-3.13.3-amd64.exe /passive PrependPath=1 CALL :RESTART pip install pasta-eln python -m pasta_eln.installationTools install "%UserProfile%\Documents\PASTA_ELN_DATA" python -m pasta_eln.installationTools shortcut python -m pasta_eln.installationTools example python -m pasta_eln.gui pause :RESTART @echo off REM author: Badr Elmers 2021 REM description: refrenv = refresh environment. this is a better alternative to the chocolatey refreshenv for cmd REM https://github.com/badrelmers/RefrEnv REM https://stackoverflow.com/questions/171588/is-there-a-command-to-refresh-environment-variables-from-the-command-prompt-in-w if "%debugme%"=="yes" ( echo RefrEnv - Refresh the Environment for CMD - ^(Debug enabled^) ) else ( echo RefrEnv - Refresh the Environment for CMD ) set "TEMPDir=%TEMP%\refrenv" IF NOT EXIST "%TEMPDir%" mkdir "%TEMPDir%" set "outputfile=%TEMPDir%\_NewEnv.cmd" set "DelayedExpansionState=IsDisabled" IF "^!" == "^!^" ( REM echo DelayedExpansion is enabled set "DelayedExpansionState=IsEnabled" ) cscript //nologo "%~f0?.wsf" "%outputfile%" %DelayedExpansionState% For /f delims^=^ eol^= %%a in (%outputfile%) do set %%a if "%debugme%"=="yes" ( explorer "%TEMPDir%" ) else ( rmdir /Q /S "%TEMPDir%" ) set "TEMPDir=" set "outputfile=" set "DelayedExpansionState=" set "debugme=" exit /b ----- Begin wsf script --->