Skip to content

AmpyWrapper.Ampy.CreateDirectory(string,bool,bool)

Finnomator edited this page Aug 3, 2023 · 2 revisions

Ampy.CreateDirectory(string, bool, bool) Method

Create a directory on the board.

public System.Threading.Tasks.Task CreateDirectory(string directory, bool existsOkay=false, bool makeParents=false);

Parameters

directory System.String

Directory path.

existsOkay System.Boolean

Ignore if the directory already exists.

makeParents System.Boolean

Create any missing parents.

Returns

System.Threading.Tasks.Task

Example

await CreateDirectory("/not/existing/directory/", makeParents = true);  

Clone this wiki locally