Run Program error log

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
papi20ver
Newbie
Posts: 10
Joined: Fri Jan 11, 2008 3:52 pm

Run Program error log

Post by papi20ver » Thu Feb 14, 2008 3:10 pm

Marcus
Greetings.
I create below code to understand how to keep RP_RESULT variable.
Did run the code deleting teste.exe from dir and with teste.exe on dir C:\temp. Both rimes RP_result was not created by compiler.

Please may help me to understand when RP-RESULT is created ?
Is there any way to create an error log (perhaps using Onevent or "Onerror") about Rum Program unsuccess jobs ?

Let>RP_ADMIN=1
Let>RP_WAIT=1
Let>RP_WINDOWMODE=2
Let>RP_DISPLAYERROR=1
// Let>RP_RESULT=1

Run Program>c:\temp\teste.exe
Let>contr=ok
IF>%RP_RESULT%RP_RESULT
Let>contr=naook
ENDIF
Papi

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts