OpenServerPanel/system/templates/env.bat

8 lines
276 B
Batchfile
Raw Normal View History

2024-01-25 19:33:10 +00:00
if /i "%1"=="resetenv" goto resetenv
{environment}
if /i not "{terminal_codepage}"=="" if /i not "%1"=="shell" set "OSP_CODEPAGE={terminal_codepage}" & if defined OSP_TMP_CODEPAGE set "OSP_TMP_CODEPAGE={terminal_codepage}"
goto end
:resetenv
{reset_environment}
:end
exit /b 0