Reference   Language | Libraries | Comparison | Changes

Bridge : FileIO Class

FileSystem.mkdir()

Description

A wrapper for the mkdir command with the -p flag, FileSystem.mkdir() creates a named directory on an SD card.

This communicates with the Linux distribution through Bridge.

Syntax

  • FileSystem.mkdir(directory)

Parameters

directory: the name of the name of the directory to create. Nested directories can be created with a /.

Returns

boolean : true if the file or directory exists, false if not

See also


Reference Home

Corrections, suggestions, and new documentation should be posted to the Forum.

The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.

Share