Creates a directory, provided the underlying file system supports directories. SPIFFS does not, but FAT (which you may have on an attached SD card) does.
Creates a directory, provided the underlying file system supports directories. SPIFFS does not, but FAT (which you may have on an attached SD card) does.
#### Syntax
#### Syntax
`file.mkdir(path [, mode])
`file.mkdir(path [, mode])`
```
#### Parameters
#### Parameters
-`path` the full path name of the directory to create. E.g. "/SD0/MYDIR".
-`path` the full path name of the directory to create. E.g. "/SD0/MYDIR".