ibec_RemoveDirectory

The ibec_RemoveDirectory function can be used to delete directory specified by parameter.

Syntax

 function ibec_RemoveDirectory(DirName : string);

Example

  execute IBEBlock
  returns (cout varchar(100))
  as
  begin
     if (ibec_RemoveDirectory('C:\Temp\folder')) then
        cout = 'Specified directory is removed!';
      else
        cout = 'Specified directory is NOT removed!';
    suspend;
  end

back to top of page
<< ibec_SetCurrentDir | IBEBlock | ibec_FileExists >>