Kbase P172689: 4GL/ABL: How to find directory names in the session PROPATH?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  13/09/2010 |
|
Status: Unverified
GOAL:
4GL/ABL: How to find directory names in the session PROPATH?
GOAL:
Is there a 4GL/ABL function equivalent to the SEARCH() function which finds directories in the PROPATH ?
FACT(s) (Environment):
OpenEdge 10.2x
All Supported Operating Systems
FIX:
No, there is no 4GL/ABL function to find directory names in the PROPATH that is equivalent to the 4GL/ABL the SEARCH() function. The PROPATH function returns the current value of the PROPATH environment variable as a comma-separated list of the directories in the current PROPATH.
Using the OS-DIR option of the INPUT FROM statement, we can recursively extract all the child directories of each main directory in the PROPATH. The Directory Tools Utility, http://communities.progress.com/pcom/docs/DOC-16578 , contains code to find directories, files and much more.