1 <?xml version="1.0" encoding="UTF-8"?>
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2008 - INRIA
6 * Copyright (C) 2012 - 2016 - Scilab Enterprises
7 * Copyright (C) 2019 - Samuel GOUGEON
9 * This file is hereby licensed under the terms of the GNU GPL v2.0,
10 * pursuant to article 5.3.4 of the CeCILL v.2.1.
11 * This file was originally licensed under the terms of the CeCILL v2.1,
12 * and continues to be available under such terms.
13 * For more information, see the COPYING file which you should have received
14 * along with this program.
17 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
18 xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML"
19 xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org"
20 xml:lang="fr" xml:id="chdir">
22 <refname>chdir</refname>
24 change le répertoire courant de Scilab
27 <refnamediv xml:id="cd">
29 <refpurpose>change le répertoire courant de Scilab
33 <title>Séquence d'appel</title>
41 <title>Paramètres</title>
46 <para>une chaîne de caractères fournissant le chemin du
47 répertoire. <literal>home</literal> par défaut.
55 booléen : <constant>%t</constant> si le changement de répertoire courant
56 a été effectué avec succès.
63 <para>une chaîne de caractères, le chemin effectif après conversion
71 <title>Description</title>
72 <para>Change le répertoire courrant de Scilab par celui donné par la
73 variable <literal>path</literal>.
77 Notez que le chemin fourni est converti (constantes prédéfinis
78 <link linkend="SCI">SCI</link>,
79 <link linkend="SCIHOME">SCIHOME</link>,
80 <link linkend="TMPDIR">TMPDIR</link>,
81 <link linkend="home">home</link>, etc). Ainsi
82 <literal>SCI/modules/fileio/macros</literal> est un chemin valide pour Unix et Windows. Si
83 path est vide , le chemin de destination est alors "home".
88 <title>Exemples</title>
89 <programlisting role="example"><![CDATA[
104 C:\Programs\scilab\scilab-6.0.2\etc
109 C:\Programs\scilab\scilab-6.0.2
113 C:\Users\Me\AppData\Local\Temp\SCI_TMP_5444_26901
124 <refsection role="see also">
125 <title>Voir aussi</title>
126 <simplelist type="inline">
128 <link linkend="isdir">isdir</link>
131 <link linkend="pwd">pwd</link>
134 <link linkend="home">home</link>
137 <link linkend="filebrowser">filebrowser</link>
140 <link linkend="uigetdir">uigetdir</link>