ibec_SetCurrentDir

ibec_SetCurrentDir sets the current directory to the specified one, returning TRUE if successful.

Syntax

 function ibec_SetCurrentDir(Directory : string) : boolean;

Example

execute IBEBlock
returns (cout varchar(100))
as
begin
   if (ibec_SetCurrentDir('C:\Temp\')) then
      cout = 'Current directory is set!';
    else
      cout = 'Current directory is NOT set since it does not exist!';
  suspend;
end