Consultor Eletrônico



Kbase P97721: How to modify the PROPATH and start the Application Compiler from the command line?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   17/11/2004
Status: Unverified

GOAL:

How to modify the PROPATH and start the Application Compiler from the command line?

FIX:

1. Create a text file 'NewPropathEntries.txt' listing the directories to be added to the PROPATH one at a line as per the following sample:
C:\
C:\AcrobatDocumentssDirectory
C:\Documents and Settings
C:\Documents and Settings\Administrator
C:\Documents and Settings\Administrator\My Documents
2. Save the following 'AddToPropath.p' and the ''NewPropathEntries.txt' created in step one in your working directory:
/* Procedure AddToPropath.p adds to PROPATH & runs Application Compiler */
DEFINE VARIABLE c AS CHARACTER NO-UNDO.
INPUT FROM NewPropathEntries.txt.
REPEAT:
IMPORT UNFORMATTED c.
PROPATH = c + "," + PROPATH.
END.
RUN _comp.p.
/************************End Procedure**************************/
3. For a Linux/UNIX Progress session use a command similar to:
mpro -p AddToPropath.p
pro -p AddToPropath.p
4. For a Windows GUI Progress session use a command similar to:
prowin32.exe -p AddToPropath.p
5. For a Windows character Progress session use a command similar to:
_progres.exe -p AddToPropath.p