Sorry, all that stuff does not help. Either ParamStr(0) or argv[0] contains symlink target name, not source.
The problem is I want to share same executable between several tasks located in different folders and care on exact action depending on the folder.
But in the said case, even I run executable (symlinked to every specified folder) - every time I get the same app name, not different names