Le 18/06/2016 14:04, philippe a écrit :
.../...
- if you start  scilab from the command-line  use the -e option  and
'cd' , for example

scilab -e 'cd SCI'

this is equivalent to start scilab and then use "cd SCI"  in the
console.  be careful to quotes  to handle correctly  strings
representing paths.
.
Actually, at least for Windows users, the series of instructions following the -e option must be quoted with double-quotes ". For an unknown reason, single quotes make instructions not being executed. For instance,

scilab -e 'cd(""C:\users\myprofile\Desktop"")'


won't execute  cd(""C:\users\myprofile\Desktop"")

whereas
scilab -e "cd(""C:\users\myprofile\Desktop"")"

will.
IMO, the help scilab <https://help.scilab.org/docs/6.0.0/en_US/scilab.html> page would deserve more information about that. The example given in the page shall include an instruction with a literal string delimited with " or ' and having the filesep character of the OS and a blank.

BR
Samuel

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to