Kbase P18883: 4GL/ABL: How to set PROPATH for Windows character client?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  18/05/2011 |
|
Status: Verified
GOAL:
4GL/ABL: How to set PROPATH for Windows character client?
FACT(s) (Environment):
Progress 8.x
Progress 9.x
OpenEdge 10.x
Windows
FIX:
A windows character client session PROPATH may be modified using one of the following methods:
1) Using 4GL Code:
Execute a 4GL procedure to add one or more directories to the default PROPATH of the current session. This PROPATH modification is not permanent but will be effective for the life of the session ONLY. For example, the following statement will add the three named directories at the top of the PROPATH of the current session:
PROPATH = "Directory1" + ";" + "Directory2" + ";" + "Directory3" + ";" + PROPATH.
2) Using .ini file:
Set the PROPATH environment variable in the [WinChar Startup] section of the .ini file. For example, starting the TTY session with a .ini file containing the following will add three named directories at the end of the PROPATH of the current session:
[WinChar Startup]
;DLC=
;PROCFG=
;PROMSGS=
PROPATH= .,C:\PROGRESS91D\tty,C:\PROGRESS91D\PROBUILD\EUCAPP\EUC.PL,C:\PROGRESS91D\PROBUILD\EUCAPP,Directory1,Directory2,Directory3
If you choose to modify the progress.ini file add the following parameters to the properties of the character client shortcut -basekey "INI" -ininame <filename> . This will tell the character client to reference the settings in the named .ini file rather those in the registry.
3) Using Windows Registry:
Modify the PROPATH String Value of the registry key. For example,
HKEY_LOCAL_MACHINE\SOFTWARE\PSC\PROGRESS\9.1D\WinChar Startup
as desired.