ClassesClasses | | Operators

remove_dirremove_dirRemoveDirRemoveDir (Operator)

Name

remove_dirremove_dirRemoveDirRemoveDir — Delete an empty directory.

Signature

remove_dir( : : DirName : )

Herror remove_dir(const char* DirName)

Herror T_remove_dir(const Htuple DirName)

void RemoveDir(const HTuple& DirName)

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

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

static void HOperatorSet.RemoveDir(HTuple dirName)

static void HMisc.RemoveDir(string dirName)

Description

remove_dirremove_dirRemoveDirRemoveDirRemoveDir deletes the empty directory given by DirNameDirNameDirNameDirNamedirName.

Execution Information

Parameters

DirNameDirNameDirNameDirNamedirName (input_control)  filename.dir HTupleHTupleHtuple (string) (string) (HString) (char*)

Name of directory to be deleted.

Result

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

Module

Foundation


ClassesClasses | | Operators