[scilab-Users] script path from within script

Eric Dubois grocer.toolbox at gmail.com
Mon May 10 21:42:35 CEST 2010


Hello

get_absolute_file_path("*test_script.sce") *

is what I think you are searching for.

Éric.


2010/5/10 诚 甄 <un_chico_muy_bueno at yahoo.com.br>

>  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. Get it now.<https://signup.live.com/signup.aspx?id=60969>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20100510/483dba7c/attachment.htm>


More information about the users mailing list