$argv0 is a global variable provided by programs like tclsh and wish, and contains either the name of the interpreter invoked, or, if a script was provided to the interpreter for exection, the name of the script.