Available since Version 1.10.
Recursively creates directories with the given path.
Syntax
DirectoryRecursiveCreate( base_path, path )Arguments
- base_path (string): The path to create directories inside within the Virtual File System.
- path (string): The directories to create.
Return Values
- (boolean): Whether the directories were successfully created.
Examples
local Created = DirectoryRecursiveCreate("/UserData/SavedGames/" .. GetModName(), "Some/Child/Directory")