<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Le 18/06/2016 14:04, philippe a écrit :<br>
</div>
<blockquote cite="mid:576538B2.6040209@gmail.com" type="cite">
<pre wrap="">.../...
- 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.</pre>
</blockquote>
.<br>
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,<br>
<pre wrap="">scilab -e 'cd(""C:\users\myprofile\Desktop"")'</pre>
<br>
won't execute cd(""C:\users\myprofile\Desktop"")<br>
<pre wrap="">whereas
scilab -e "cd(""C:\users\myprofile\Desktop"")"
</pre>
will.<br>
IMO, the <a
href="https://help.scilab.org/docs/6.0.0/en_US/scilab.html"><tt>help
scilab</tt></a> 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>
<br>
BR<br>
Samuel<br>
<br>
</body>
</html>