environ.bat

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.

environ.bat can exist only in .

In , this function is performed by environ:

. environ

 

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.

 

To apply your new environment, you must either

  1. Execute environ.bat via the command line before performing any other commands every time when you work with your 4gl programs.

or

  1. 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:

CLASSPATH

INCLUDE

LD_LIBRARY_PATH

LIB

PATH

INFORMIXPASS

INFORMIXSERVER

LOGNAME

FGLIMAGEPATH

LYCIA_DB_DRIVER

LYCIA_DIR

LYCIA_DRIVER_PATH

LYCIA_MSGPATH

QX_HEADLESS_MODE

QX_MDI

QX_NATIVE_LINKER

QX_TRACE

QX_TRACE_ARG_DUMP

QX_UNL

QX_VERBOSE_CACHE

QX_WRAPPER

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

 

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.