Older Newer
Mon, 25 Oct 2010 12:44:24 . . . . SyneRyder


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

== Comments ==

:Everyone can add their comments about their experiences with this function here. Tips for using it are welcome, too.