[scilab-Users] How to get a script's directory

Calixte Denizet calixte.denizet at ac-rennes.fr
Sat Jun 20 23:50:28 CEST 2009


Hi,

> How can I get the location of the script in a variable, so that I can do 
> something like this?:
>     cpath=get_script_path();
>     graph=load_graph(cpath+'some_graph.graph');

Maybe cpath=get_absolute_file_path('myscript.sci') could be useful.

Calixte





More information about the users mailing list