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 - Allan CORNET
7
* This file must be used under the terms of the CeCILL.
8
* This source file is licensed as described in the file COPYING, which
9
* you should have received as part of this distribution. The terms
10
* are also available at
11
* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
14
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="removedir">
16
<refname>removedir</refname>
17
<refpurpose>Remove a directory</refpurpose>
20
<title>Calling Sequence</title>
21
<synopsis>removedir('dirname')
22
[status] = removedir('dirname','s')
26
<title>Description</title>
27
<para>removedir('dirname') removes the directory dirname from the current
28
directory. If the directory is not empty, files and subdirectories are removed. If
29
dirname is not in the current directory, specify the relative path to the
30
current directory or the full path for dirname.
32
<para>[status] = removedir('dirname') removes the directory dirname
33
and its contents from the current directory, returning the status.
34
Here, status is %T for success and is %F for error.
36
<para>removedir is used by rmdir.</para>
39
<title>Examples</title>
40
<programlisting role="example"><![CDATA[
41
createdir(SCIHOME+'/Directory_test')
42
removedir(SCIHOME+'/Directory_test')
45
<refsection role="see also">
46
<title>See Also</title>
47
<simplelist type="inline">
49
<link linkend="mkdir">mkdir</link>
52
<link linkend="rmdir">rmdir</link>