Is there a scilab command that will allow a script (say "foo.sci") called by exec() to return its own file name? In other words is there something that will cause "magic_command()" to return a string containing "foo.sci" in the following: === from bah.sci (or commandline) === exec("foo.sci"); === foo.sci === s = magic_command(); mprintf("My name is: %s\n", s);