If the program knows its own name, $0 may help.
After Compline,Zaxo
In reply to Re: find out the way program was called. by Zaxo in thread find out the way program was called. by coldhawk