I believe system V is different from BSD: argv[0] is always the full path name of the executable. -- ...!mit-eddie!ileaf!md Mark Dionne, Interleaf ...!sun!sunne!ileaf!md Ten Canal Park, Cambridge, MA 02141 (617) 577-9813 x5551