Avisaro Online Documentation - Wiki
Impressum Kontakt Sitemap

MKDIR

Description

The MKDIR command's purpose is to create new folders on the SD card. MKDIR requires one argument that is the full path to the new folder. Nested folder names must be separated by slashes. A folder in the root directory does not need any slashes.

Parameters

Name and path of new folder that should be created.

Return Values

ERR_OK (0) if a new folder was created successfully.
ERR_FR_XX (13...25) file system error if anything's gone wrong while trying to create the folder. 

Example

MKDIR foo 

Creates a new folder named "foo" in the root directory

MKDIR foo/bar 

Creates a new folder named "bar" that resides in folder "foo"

Remarks

This command only exists on devices that have some kind of mass storage (such as SD-Card or USB stick).