Hi,JLAN Thanks for your reply.
Your code return only "// -- 16/03/2016 18:04:51 -- //" as a. I execute the script containing the following lines with the script name ''gettingSscriptName.sce' clear; a=gethistory(); b=strsplit(a($), [filesep();'''']); disp(b($-1)); The console window shows --> ecec('gettingSscriptName.sce') How to fix this? Best regards -- View this message in context: http://mailinglists.scilab.org/the-name-of-a-script-tp4033744p4033747.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. _______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users