Le 12/03/2015 07:24 PM, Samuel Gougeon a écrit :
Hello,

Le 03/12/2015 17:10, amonm...@laas.fr a écrit :
Hi all,

We've just discovered that on scilab 5.5.2, atoms is not working on our Windows machines:

atomsGUI()
WARNING: mputl: Cannot open file \\servername\username\[..skipping some boring stuff...]\scilab-5.5.2\.atoms\config.

It might be a problem with our setup where the homedir of our users are on network shares. Many Windows scripts are failing when accessing the files using the network path "\\servername\username\..." The network shares "\\servername\username" are mapped locally to a drive letter "Z:" and usually, changing the path from "\\servername\username\..." to "Z:\\..." solves the problem of write access.

So here is my question how do I change SCIHOME (to replace "\\servername\username\" by "Z:\")?
I tried, predef, looking in scilab.start, ... but without success.
.
For Scilab on Windows, Scilab uses the environment variable (of the OS) APPDATA to build SCIHOME, and TMP to build TMPDIR. The only way to change these Scilab variables is to run Scilab from a batch file in which the environment variables are priorly set to what you want for Scilab.


Do you have an example of such script?
I daily do things like that under Linux, but I am more than rusty when it comes to Windows batch! Anyway, I am not sure changing APPDATA will solve the problem, but it's worth a try.

Cheers,

Antoine

We daily use such a configuration now for years, with Scilab installed on a shared place on our internal network, and it works.

HTH
Samuel



--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 Antoine Monmayrant LAAS - CNRS
 7 avenue du Colonel Roche
 BP 54200
 31031 TOULOUSE Cedex 4
 FRANCE

 Tel:+33 5 61 33 64 59
email : antoine.monmayr...@laas.fr
 permanent email : antoine.monmayr...@polytechnique.org

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to