Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.1 - English

Change language to:
Français - 日本語 - Português

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Files : Input/Output functions > createdir

createdir

Make new directory

Calling Sequence

createdir('dirname')
status = createdir('dirname')

Description

createdir('dirname') creates the directory dirname in the current directory, if dirname is not in the current directory, specify the relative path to the current directory or the full path for dirname.

[status] = createdir('dirname') creates the directory dirname in the existing directory parentdir, returning the status, a message. Here, status is %T for success and %F otherwise.

createdir is used by mkdir.

Examples

createdir(SCIHOME+'/Directory_test')
removedir(SCIHOME+'/Directory_test')

See Also

  • mkdir — Make new directory
  • rmdir — Remove a directory

Authors

  • A.C
<< copyfile Files : Input/Output functions deletefile >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Mar 03 10:59:44 CET 2011