make_dirmake_dirMakeDirMakeDirmake_dir (Operator)

Name

make_dirmake_dirMakeDirMakeDirmake_dir — Make a directory.

Signature

make_dir( : : DirName : )

Herror make_dir(const char* DirName)

Herror T_make_dir(const Htuple DirName)

void MakeDir(const HTuple& DirName)

static void HMisc::MakeDir(const HString& DirName)

static void HMisc::MakeDir(const char* DirName)

static void HMisc::MakeDir(const wchar_t* DirName)   (Windows only)

static void HOperatorSet.MakeDir(HTuple dirName)

static void HMisc.MakeDir(string dirName)

def make_dir(dir_name: str) -> None

Description

make_dirmake_dirMakeDirMakeDirMakeDirmake_dir creates the directory given by DirNameDirNameDirNameDirNamedirNamedir_name.

Execution Information

Parameters

DirNameDirNameDirNameDirNamedirNamedir_name (input_control)  filename.dir HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Name of directory to be created.

Result

make_dirmake_dirMakeDirMakeDirMakeDirmake_dir returns the value 2 (H_MSG_TRUE) if the directory could be created. Otherwise, an exception is raised.

Module

Foundation