link .sce file with batch mode

paul.carrico at free.fr paul.carrico at free.fr
Thu Jun 17 16:46:25 CEST 2010


Hi All,

I created a batch file (under windows) that launch my .sce file ...

In this .sce file I would like to specify the working directory in "batch language" i.e. like "%D%" instead of "C:\...." :

.....
// chemin d'accès
CHEMIN = "%D%";

// ouverture du fichier resultat
RESU= mopen(CHEMIN + "/resu.dat", 'w');
.....



Of course %D% doesn't work .... How can I proceed ?

Is there any tutorial that explains how to include system instructions into Scilab files ?

regards

PC



More information about the users mailing list