Consultor Eletrônico



Kbase P110464: How to change the working directory of a 4GL session on UNIX?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/15/2008
Status: Verified

GOAL:

How to change the working directory of a 4GL session on UNIX?

FACT(s) (Environment):

UNIX
Progress 8.x
Progress 9.x
OpenEdge 10.x

FIX:

You can use the following 4GL code, which invokes the chdir() function, to change the working directory on UNIX:

PROCEDURE chdir EXTERNAL "libc.so.6":
DEFINE INPUT PARAMETER vNewDirectory AS CHARACTER NO-UNDO.
END PROCEDURE.

RUN chdir("/some
ew/directory
ame/goes/here").