Older Newer
Mon, 04 Nov 2019 03:40:49 . . . . SyneRyder [Formatting for ePub]


Changes by last author:

Added:
= mkdir =

== Syntax ==

int mkdir(string path)

== Arguments ==

:path

::The path of the folder you want to make/create.

== Return ==

Returns 0 if the new directory was created successful, -1 otherwise.

== Description ==

Makes a directory/folder on the user's filesystem. Remember to use double backslashes in the path.

== Example ==

<code>

if (mkdir("c:\\abc\\mynewfolder") == 0) {

msgBox(MB_OK, "Successful", "The folder was created successfully.");

}

else msgBox(MB_OK | MB_ICONWARNING, "Error", "The folder could not be created.");

</code>

== Also see ==

getSpecialFolder, rmdir