Question Run the 4gl code from windows command prompt.

Kalan

Member
Can someone pls tell me how to run the 4gl program from windows-7 command prompt? (i.e. Start -> Run -> Cmd). Is there any way to call the 4gl script as executable from command prompt? (i.e. prowin32.exe <program file-name>)

Thanks.
 

RealHeavyDude

Well-Known Member
The ABL procedure you want to run is a parameter to the Progress executable ( prowin32.exe - GUI, _progres.exe - CHUI ). You invoke the executable and supply the parameter accordingly. They are Unix-style and they are case sensitive.
Code:
prowin32.exe -p your_procedure.p
You should be aware that there might be other parameters you need to supply. Most prominently for example the database connections if the procedure needs one.

Heavy Regards, RealHeavyDude.
 

Tanveer

New Member
Following code will be helpful... :) Means you can create a batch file with below code and by double clicking it will invoke the required program .... i.e. mainscreen.w

set DLC=C:\Progress\OpenEdge
C:\Progress\OpenEdge\bin\prowin32.exe -p C:\Users\tanveer.khan\Desktop\mainscreen.w
 
Top