= 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 == |