(phixonline)--> with javascript_semantics string cl2 = command_line()[2] printf(1,"%s\n",cl2) -- full path printf(1,"%s\n",get_file_name(cl2)) -- eg test.exw or test.exe or test.htm printf(1,"%s\n",get_file_base(cl2)) -- eg test