Hi,all I executed the script with the execute command of the scinote so it failed. I want to use the execute command of the scinote.
I tried [units,typs,nams]=file(). But nams are as follows stderr ! ! ! !C:\***\gettingScriptName02.sce ! ! ! !stdin ! ! ! !stdout ! My target is not nams($) but nams($-2) . I am not sure the number of element is always $-2. Le me explain why I want to get the script name in the script itself. The script makes a folder where many graphs made by the script ares saved. The folder name is 'scritname'+'executiontime' as like 'gettingScripName01_2016_03_16_2300. I use such folder name in order to distinguish easily which build number script made those graphs. I can use the script name as the constant variable but I want to avoid such method since I forget to change the constant value when I revise the build number. 'get_absolute_file_path(scriptName)' is not a solution since it assume the script knows own name which script want to know. Best regards -- View this message in context: http://mailinglists.scilab.org/the-name-of-a-script-tp4033744p4033757.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