Consultor Eletrônico



Kbase P128117: Can INI file be used to set OS environment variables?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/01/2008
Status: Unverified

GOAL:

Can INI file be used to set OS environment variables?

GOAL:

Can INI file be used to set Operating System environment variables?

GOAL:

Is it possible to set OS environment variables through INI file?

GOAL:

Is it possible to set Operating System environment variables through INI file?

FACT(s) (Environment):

All Supported Operating Systems
Progress/OpenEdge Versions

FIX:

No, it is not possible to set OS environment variables using INI file.

As a workaround, you need to use a batch file to invoke the 4GL client by setting the environment variable at the beginning of the batch file.

for example the following can be on the batch file, and the run the batch file to invoke the program:

###############################################
@echo off

set DLC=C:\PROGRESS\OpenEdge\dlc
set ORACLE_HOME=C:\oracle\ora92
set PATH=%ORACLE_HOME%\bin;%DLC%\bin;%PATH%
set LOCAL=oradb92

prowin32 -pf C:\foo.pf -p C:\<some path>\foo.p

################################################