<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>I am wondering why, unlike SCI, SCIHOME, TMPDIR and home, WSCI is
not defined in the calling OS environment:</p>
<p><font size="-1"><tt>--> getenv WSCI<br>
<br>
getenv: Undefined environment variable WSCI.<br>
<br>
--> getenv SCI<br>
ans =<br>
C:/Applications/scilab/SCILAB~2.2<br>
<br>
<br>
--> getenv SCIHOME<br>
ans =<br>
C:\Users\I\AppData\Roaming\Scilab\SCILAB~2.2<br>
<br>
<br>
--> getenv TMPDIR<br>
ans =<br>
C:\Users\I\AppData\Local\Temp\SC6FE7~1<br>
<br>
<br>
--> getenv home<br>
ans =<br>
C:\Users\I<br>
<br>
</tt></font></p>
<p><font size="-1"><tt>Hence, %TMPDIR%, .. %SCIHOME% can be used in
commands sent to the OS through unix_*() or host() functions<br>
(or </tt></font><font size="-1"><tt>$TMPDIR, .. $SCIHOME on
Linux and MacOS), but not %WSCI% or $WSCI.<br>
This looks a bit awkward, doesn't it?<br>
WSCI could be defined as well on Linux and MacOS as a copy of
SCI. </tt></font><font size="-1"><tt>It would not disturb.</tt></font><br>
</p>
<p>Regards<br>
Samuel</p>
<br>
</body>
</html>