<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Yung-Jang Lee skrev:
<blockquote
 cite="mid:9371b4280901012043u523e8dd4ka528e2a862174398@mail.gmail.com"
 type="cite"><br>
  <div class="gmail_quote">
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div>
    <div class="Wj3C7c">
    <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
    </blockquote>
    </div>
    </div>
Under Windows XP, and with Scilab 5.0.3 I've never experienced that
scilab failed to start from the directory C:\Documents and
Settings\Torbjørn Pettersen\My Documents\scilab<br>
  </blockquote>
  <div><br>
Can you check your SCI and TMP variables <br>
  <br>
SCI<br>
getenv('TMP')<br>
  <br>
to see if Windows's short name make 'ø' hidden.  If this is the case,
then change 'Torbjørn' to 'Tørbjorn' may produce the error message.<br>
  </div>
  </div>
</blockquote>
Yes you are right in that the short name hides the ø letter..<br>
     SCI  =  C:/PROGRA~1/SCILAB~1.3   <br>
and<br>
     getenv('TMP') returns  C:\DOCUME~1\TORBJR~1\LOCALS~1\Temp   <br>
<br>
<br>
I opened a cmd shell and ran<br>
    md c:\æøå<br>
    set TMP=c:\æøå<br>
and started scilab from this shell:<br>
    "c:\Program Files\scilab-5.0.3\bin\WScilex.exe"<br>
<br>
Scilab starts without problem and getenv('TMP') returns c:\æøå as it
should.<br>
So does the TMPDIR variable (  c:\æøå\SCI_TMP_3860_ ).<br>
<br>
The fun part is that running  chdir(TMPDIR)  works:<br>
<br>
-->TMPDIR<br>
 TMPDIR  =<br>
 <br>
 c:\æøå\SCI_TMP_3860_   <br>
 <br>
-->chdir(TMPDIR)<br>
 ans  =<br>
 <br>
  T  <br>
 <br>
-->pwd<br>
 ans  =<br>
 <br>
 c:\æøå\SCI_TMP_3860_   <br>
 <br>
BUT this command does not work:<br>
<br>
-->chdir('c:\æøå\SCI_TMP_3860_')<br>
Can't go to directory c:\æøå\SCI_TMP_3860_.<br>
 ans  =<br>
 <br>
  F  <br>
 <br>
<br>
-Torbjørn.<br>
<br>
<blockquote
 cite="mid:9371b4280901012043u523e8dd4ka528e2a862174398@mail.gmail.com"
 type="cite">
  <div class="gmail_quote">
  <div><br>
 </div>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
However, the bug <a moz-do-not-send="true"
 href="http://bugzilla.scilab.org/show_bug.cgi?id=3089" target="_blank">http://bugzilla.scilab.org/show_bug.cgi?id=3089</a>
is still present in version 5.0.3, but from the comments in bugzilla it
seems to it may be fixed for higher versions of Scilab.<br>
    <font color="#888888">
    </font></blockquote>
  <div><br>
This bug should already been fixed in current GIT master <a
 moz-do-not-send="true"
 href="http://gitweb.scilab.org/?p=scilab;a=commit;h=08c6212e3b3579343a63d53d2fc073bc84bcb6ec">http://gitweb.scilab.org/?p=scilab;a=commit;h=08c6212e3b3579343a63d53d2fc073bc84bcb6ec</a><br>
  <br>
Yung-Jang Lee <br>
  </div>
  </div>
  <br>
</blockquote>
<br>
</body>
</html>