>Hector,
>
>You can use the good old program() function.
>
>Pass it the parameter 0 and it will return the name of the highest level
>executing program.
>
>:)
>
>Pascal
Thank you for the tip. The program() function does not work with the executable, but your tip lead me to the SYS(16,0) function and that works!
Hector Correa