<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18975"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN 
class=682015514-26112010>thanks everybody as well as futur one 
!</SPAN></FONT></DIV><BR>
<DIV dir=ltr lang=fr class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>De :</B> Mathieu Dubois 
[mailto:mathieu.dubois@limsi.fr] <BR><B>Envoyé :</B> vendredi 26 novembre 
2010 15:54<BR><B>À :</B> users@lists.scilab.org<BR><B>Objet :</B> Re: 
[scilab-Users] record a path<BR></FONT><BR></DIV>
<DIV></DIV>Hello,<BR><BR>AFAI you can use the scilab pwd() function which gives 
you scilab current working directory. And you can change scilab working 
directory with cd().<BR><BR>HTH,<BR>Mathieu<BR><BR>On 11/26/2010 03:39 PM, 
Carrico, Paul wrote: 
<BLOCKQUOTE cite=mid:55A12CBC06A8C9459DCE0BBEF8122FDC0498AFCF@exchsrv.AUXITROL1 
type="cite">
  <META name=GENERATOR content="MSHTML 8.00.6001.18975">
  <DIV><SPAN class=509335312-26112010><FONT size=2 
  face=Arial>All</FONT></SPAN></DIV>
  <DIV><SPAN class=509335312-26112010></SPAN> </DIV>
  <DIV><SPAN class=509335312-26112010><FONT size=2 face=Arial>is there a better 
  way (clever one) to record a path than the following method (I'm under windows 
  os)</FONT></SPAN></DIV>
  <DIV><SPAN class=509335312-26112010></SPAN> </DIV>
  <DIV><SPAN class=509335312-26112010><FONT size=2 face=Arial>dos('pwd > 
  info.dat'); [LECT,err] = mopen('info.dat') ; record = mgetl(LECT) ; path_ = 
  string(record)</FONT></SPAN></DIV>
  <DIV><SPAN class=509335312-26112010><FONT size=2 face=Arial>dos('del 
  info.dat');</FONT></SPAN></DIV>
  <DIV><SPAN class=509335312-26112010></SPAN> </DIV>
  <DIV><SPAN class=509335312-26112010><FONT size=2 face=Arial>I've a look in 
  dir(), listfiles() ....</FONT></SPAN></DIV>
  <DIV><SPAN class=509335312-26112010></SPAN> </DIV>
  <DIV><SPAN class=509335312-26112010><FONT size=2 
  face=Arial>Regards</FONT></SPAN></DIV>
  <DIV><SPAN class=509335312-26112010></SPAN> </DIV>
  <DIV><SPAN class=509335312-26112010><FONT size=2 
  face=Arial>Paul</FONT></SPAN></DIV><PRE>--------------------------------------------------------------------------------


Le présent mail et ses pièces jointes sont confidentiels et destinés à la personne ou aux personnes visée(s) ci-dessus. Si vous avez reçu cet e-mail par erreur, veuillez contacter immédiatement l'expéditeur et effacer le message de votre système. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite.

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email.

  </PRE></BLOCKQUOTE><BR></BODY></HTML>

<pre>--------------------------------------------------------------------------------


Le présent mail et ses pièces jointes sont confidentiels et destinés à la personne ou aux personnes visée(s) ci-dessus. Si vous avez reçu cet e-mail par erreur, veuillez contacter immédiatement l'expéditeur et effacer le message de votre système. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite.

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email.