[scilab-Users] basch file translation

Paul CARRICO paul.carrico at free.fr
Sun Dec 5 19:03:22 CET 2010


Dear Mathieu,

You're right and I'll test it tomorrow morning on my working station ...

Thanks for your help 

Regards

Paul

-----Message d'origine-----
De : Mathieu Dubois [mailto:mathieu.dubois at limsi.fr] 
Envoyé : dimanche 5 décembre 2010 18:31
À : users at lists.scilab.org
Objet : Re: [scilab-Users] basch file translation

Hello Paul,

As far as I understand you want to use Scilab to launch some external 
programs which rely on environment variables, right?

I don't know windows command line but if I understand correctly "SET 
CMD_VARIABLE = 3000" is used to set an environment variable.

In this case you might use setenv:
setenv("CMD_VARIABLE", "3000")

HTH,
Mathieu

P.S.: I think you are talking about "batch file"...

Le 03/12/2010 11:59, Carrico, Paul a écrit :
> Dear all
> I trying to translate a basch file under Windows (i.e. cmd file) in
> Scilab language ... the purpose is finally to use Scilab power in
> optimization field ...
> A basic question for some of you but I do not find the solution .... how
> can I translate SET cms keyword in Scilab one ?
> (cmd keyword) Scialb equivalent variable
> SET CMD_VARIABLE = 3000 ?
> Nota : to avoid a lot of further questions, is there any doc ?
> Thanks
> Paul
>
>
----------------------------------------------------------------------------
----
>
>
> Le présent mail et ses pièces jointes sont confidentiels et destinés à la
personne ou aux personnes visée(s) ci-dessus. Si vous avez reçu cet e-mail
par erreur, veuillez contacter immédiatement l'expéditeur et effacer le
message de votre système. Toute divulgation, copie ou distribution de cet
e-mail est strictement interdite.
>
> This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error, please contact the sender and
delete the email from your system. If you are not the named addressee you
should not disseminate, distribute or copy this email.
>




More information about the users mailing list