bool createDirectory(string dirPath)

Creates a directory and returns true if the directory was created

Security

Trust Level Required: Full Trust

Parameters

Name Description
dirPath string
The path to the new directory

Return

True on success, and false if the directory already existed or an error occurred

Examples


if (KioFileIO.createDirectory('/home/kiosk/Projects'))
	KioFileIO.getDirectoryDetails('/home/kiosk/Projects');

Requirements

KioWare OS (Linux®) version 1.0 or greater.


Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.