set_current_dirset_current_dirSetCurrentDirSetCurrentDir (Operator)
Name
set_current_dirset_current_dirSetCurrentDirSetCurrentDir
— Set the current working directory.
Signature
Herror set_current_dir(const char* DirName)
Herror T_set_current_dir(const Htuple DirName)
void SetCurrentDir(const HTuple& DirName)
static void HMisc::SetCurrentDir(const HString& DirName)
static void HMisc::SetCurrentDir(const char* DirName)
static void HMisc::SetCurrentDir(const wchar_t* DirName)
(Windows only)
Description
set_current_dirset_current_dirSetCurrentDirSetCurrentDirSetCurrentDir
sets the current working directory to the
directory DirNameDirNameDirNameDirNamedirName
.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
DirNameDirNameDirNameDirNamedirName
(input_control) filename.dir →
HTupleHTupleHtuple (string) (string) (HString) (char*)
Name of current working directory to be set.
Result
set_current_dirset_current_dirSetCurrentDirSetCurrentDirSetCurrentDir
returns the value 2 (H_MSG_TRUE) if the current
working directory could be set. Otherwise, an exception is raised.
Module
Foundation