script path from within script

诚 甄 un_chico_muy_bueno at yahoo.com.br
Mon May 10 19:16:59 CEST 2010


Hello fellow Scilab users,

I have written a .sce script and would like to get the path to this script from within the script.

For example, the script is called "test_script.sce" and is saved in "c:\users\adm\documents\scilab_scripts"

I would like to use a function to find this path from within the script itself. Does anyone know how this can be accomplished and point me to the right direction?

I checked the function get_absolute_file_path() in the Scilab manual, but although it is written there that this is possible, I could not figure out how to do it.

Any help will be greatly appreciated.

Thanks in advance,

Daniel
 		 	   		  
_________________________________________________________________
Hotmail: Free, trusted and rich email service.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20100510/927b5a7a/attachment.htm>


More information about the users mailing list