environ.bat is a script that contains environment variables used when working with command line tools.
Querix Package Manager doesn't create environ.bat.
By default, Lycia command line tools don't need any additional configurations and will work successfully without environ.bat.
However, if you want to set some environment variables when working with Lycia command line tools, you can create your own environ.bat.
To create environ.bat, please follow these steps.
Step 1. Open your favorite text editor.
Step 2. Set all the necessary environment variables in a new file.
We recommend using these folders to save your custom configuration files:
If you want to save your configuration files to any other – non-default – folder/s, you must specify it (or them) in LYCIA_CONFIG_PATH.
To apply your new environment, you must either
or
Create a new shortcut for the running command line and specify this text as the location of this shortcut:
%comspec% /K "C:\ProgramData\Querix\Lycia\etc\environ.bat"
After this, if you use this shortcut to work with command line tools, you won't need to execute environ.bat before performing any commands.
These are environment variables that can be set in environ.bat:
Here is a template you can use to create your custom environ.bat:
@echo off
set QUERIX_BASE=$INSTDIR
set LYCIA_DIR=$INSTDIR
set LYCIA_DRIVER_PATH=%LYCIA_DIR%\lib
set LYCIA_MSGPATH=%LYCIA_DIR%\msg
set PATH=%LYCIA_DIR%\bin;%LYCIA_DIR%\lib;%PATH%
set FGLIMAGEPATH=%FGLIMAGEPATH%;.;%LYCIA_DIR%\images
cd %LYCIA_DIR%\bin